Deepak
Deepak

Reputation: 437

How can I decode data with Base64 in IPhone

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

Upvotes: 3

Views: 4275

Answers (3)

user4125103
user4125103

Reputation:

use this code base64(github.com/nicklockwood/Base64)

Upvotes: 0

pixel
pixel

Reputation: 5298

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/

Upvotes: 0

schwa
schwa

Reputation: 11942

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

Upvotes: 1

Related Questions