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

Re: Digest API?


  • Subject: Re: Digest API?
  • From: Chris Ridd <email@hidden>
  • Date: Thu, 03 Apr 2003 11:24:18 +0100

On 3/4/03 10:26 am, petite_abeille <email@hidden> wrote:

> On Thursday, Apr 3, 2003, at 09:38 Europe/Zurich, Ryan McGann wrote:
>
>> Look at the OpenSSL headers in /usr/include. Both MD5 and SHA are
>> included, among with many other cryptographic and digest algorithms.
>>
>> I believe the symbols for these functions are in the Security
>> framework.
>
> Thanks.
>
> I also came across the good, old RSA's md5.h header in the
> Kernel.framework:
>
> /System/Library/Frameworks/Kernel.framework/Versions/A/Headers/sys/md5.h
>
> So... which one is the "one" to use in the context of a brand new Cocoa
> app? OpenSSL's EVP? Security.framework's "Common Data Security
> Architecture"? Kernel.framework?

Politics might affect the answer! I used OpenSSL's code in an open-sourced
app I wrote, but Security.framework might make sense too.

See the last two methods at:

<http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/gnukeyring/View Keyring/Da
taAdditions.m?rev=1.2&content-type=text/vnd.viewcvs-markup>

for my code.

The OpenSSL code seemed easier to use than the Security.framework, to me at
least.

I'm not sure the Kernel.framework's meant for use by apps, but I'll profess
complete ignorance there :-)

Cheers,

Chris
_______________________________________________
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: Digest API? (From: petite_abeille <email@hidden>)

  • Prev by Date: Re: Specifying paper tray from Cocoa program
  • Next by Date: re:Java-Cocoa bridge?
  • Previous by thread: Re: Digest API?
  • Next by thread: LaunchServices & iTunes
  • Index(es):
    • Date
    • Thread