Hey Gleb,

Using CocoaFob for my application was my first goal, but could never get it to work nice with the PHP implementation i have. and since i've never dealt to much with C and never really had to digg into binary code and slices, i'm just starting to understand the concept. yes i know, that makes me one of those click happy programmers... everything is so easy these days, kind of makes on's brain lazy. anyways.

thank for the leads!

Sandro.



On 2009-09-23, at 4:42 PM, Gleb Dolgich wrote:


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 (Cocoa-dev@lists.apple.com)

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 arch...@mail-archive.com

Reply via email to