• 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: base64
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: base64


  • Subject: Re: base64
  • From: Dave Hersey <email@hidden>
  • Date: Thu, 05 Feb 2004 20:28:23 -0500

You can also send a call down to openssl via system()

encode:
openssl base64 -e -in file_to_encode -out encoded_file

decode:
openssl base64 -d -in encoded_file -out decoded_file

Or link against libcrypto and use the headers at /usr/include/openssl/.

- dave


On 2/5/04 6:08 PM, "Robert Palmer Jr" <email@hidden> wrote:

> There is probably a unix command line implementation already on the Mac
> (or in one of the Cocoa/Carbon APIs). However, if you go to
> http://xmlrpcpp.sourceforge.net/, it has built into it a very good
> base64 encoder class built using templates. And you can look at how
> the xmlrpcpp lib uses it as a good example case :) Finally, it's LGPL.
>
> Robert
>
> On Feb 5, 2004, at 5:02 PM, Sascha Kuehn wrote:
>
>> hi,
>>
>> i need a base64 en/decoder. is there a framework or something else?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: base64 (From: Robert Palmer Jr <email@hidden>)

  • Prev by Date: Re: Unwanted retain
  • Next by Date: Drawing a *blue* ProgressIndicator on the Dock app icon in the background / offscreen drawing
  • Previous by thread: Re: base64
  • Next by thread: Re: base64
  • Index(es):
    • Date
    • Thread