• 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: Looking for Cocoa diff and hash objects/ library
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Looking for Cocoa diff and hash objects/ library


  • Subject: Re: Looking for Cocoa diff and hash objects/ library
  • From: Chris Ridd <email@hidden>
  • Date: Tue, 25 May 2004 21:54:02 +0100

On 25/5/04 8:20 pm, Brad O'Hearne <email@hidden> wrote:

> Hey all,
>
> Could someone tell me if Cocoa (or any Apple specific API) contains
> objects / libraries for doing two unrelated things:
>
> 1. Binary file diff.

No idea. You've got the BSD cmp program installed which you could try using.
Obviously the source to *BSD's cmp and GNU's cmp is available.

> 2. Hashing (preferably SHA-2, but SHA-1 and MD5 would be nice too).

Apple provide 2 libraries which include hashing functions -
Security.framework wraps CDSA, which is a pretty comprehensive library; and
OpenSSL, which is quite popular.

I'd tend towards using Security.framework if you can get your brain around
it, as apps linked against tend to survive OS upgrades. Apps linked against
OpenSSL do not. OTOH I can't see a SHA-2 implementation in
Security.framework, unless it has another name.

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.


  • Follow-Ups:
    • Re: Looking for Cocoa diff and hash objects/ library
      • From: "Brad O'Hearne" <email@hidden>
References: 
 >Looking for Cocoa diff and hash objects/ library (From: "Brad O'Hearne" <email@hidden>)

  • Prev by Date: Action on NSButtonCell in NSTableView
  • Next by Date: Re: [OFFTOPIC] Inspiration
  • Previous by thread: Re: Looking for Cocoa diff and hash objects/ library
  • Next by thread: Re: Looking for Cocoa diff and hash objects/ library
  • Index(es):
    • Date
    • Thread