Re: Need Help with base64

2007-07-23 Thread Tim Roberts
pycraze <[EMAIL PROTECTED]> wrote: > >int base641_decodestring(char* pcstr,int size,char** ppcdest) >{ > unsigned char cin[4] = {""}; > unsigned char cout[3] = {""}; > unsigned char cv = 0; > int ni = 0; > int nlen = 0; > char* cptr = pcstr; > *ppcdest = malloc(sizeof(ch

Re: Need Help with base64

2007-07-23 Thread Terry Reedy
"pycraze" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] | Hi , | | I am currently trying to implement base64 encoding and decoding | scheme in C . Python has a module , base64 , that will do the | encoding and decoding with ease . I am aware of OpenSSL having support | for base64

Re: Need Help with base64

2007-07-23 Thread Diez B. Roggisch
pycraze wrote: > Hi , > > I am currently trying to implement base64 encoding and decoding > scheme in C . Python has a module , base64 , that will do the > encoding and decoding with ease . I am aware of OpenSSL having support > for base64 encoding and decoding , but i will have to now impleme

Need Help with base64

2007-07-23 Thread pycraze
Hi , I am currently trying to implement base64 encoding and decoding scheme in C . Python has a module , base64 , that will do the encoding and decoding with ease . I am aware of OpenSSL having support for base64 encoding and decoding , but i will have to now implement both in C without using t