On 23 Sep 2009, at 21:14, Sandro Noel wrote:

I've been looking all around the internet for a simple Base 32 encode/decode cocoa function but all i can find are somehow not compatible with the PHP implementation on my web site.

see, if i encode and then decode on the website everything validates perfectly. ( same value in as value out ) if i use the same encoded string and try to decode with my local computer it does not validate.

so i'm trying to find a simple cocoa base32 encode/decode function that would be as simple as this php one,. or a good specification that i can build from.. Any pointer would be ok,

In CocoaFob <http://github.com/gbd/cocoafob/> I'm using Samuel Tesla's C implementation taken from base32 Ruby gem: <http://rubyforge.org/projects/base32/ >

There is also a slightly incompatible version of Base32 encoding by Douglas Crockford <http://www.crockford.com/wrmg/base32.html>, implemented in Ruby here: <http://github.com/levinalex/base32>, but it doesn't look like it is compatible with your version of base32.

Another slightly different version in C is z-base-32: <http://zooko.com/repos/z-base-32/base32/ >

Hope this helps.

--
Gleb Dolgich
http://pixelespressoapps.com/decloner -- Find and remove duplicate files on your Mac
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to