• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: base32
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base32


  • Subject: Re: base32
  • From: Sandro Noel <email@hidden>
  • Date: Wed, 23 Sep 2009 16:53:30 -0400

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 (email@hidden)

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:
This email sent to email@hidden


References: 
 >base32 (From: Sandro Noel <email@hidden>)
 >Re: base32 (From: Gleb Dolgich <email@hidden>)

  • Prev by Date: Re: base32
  • Next by Date: Drawing text chunks (e.g. paras) in a text view with alternating background colours
  • Previous by thread: Re: base32
  • Next by thread: Re: base32
  • Index(es):
    • Date
    • Thread