views:

1421

answers:

2

Hi My friend is using Base64 encoding standard in java.

I am using IPhone how can I decode the data. and viceversa. There is org.apache.commons.codec.binary.Base64.decodeBase64 in java

Thanks Deepak

+2  A: 

TouchCode has http://touchcode.googlecode.com/hg/Support/Common/Base64Transcoder.c (and .h)

schwa
A: 

There is also some quite simple code you can use here:

http://www.cocoadev.com/index.pl?BaseSixtyFour

Another interesting way to do it, using OpenSSL:

http://www.dribin.org/dave/blog/archives/2006/03/12/base64_cocoa/

pixel