• 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: "Brad O'Hearne" <email@hidden>
  • Date: Wed, 26 May 2004 12:24:16 -0400

Yeah, I think that GNU's cmp is GPL, which I'm not interested in tangling with. XCode I'm sure has a diff, I wonder what it uses?

BradO

On May 25, 2004, at 4:54 PM, Chris Ridd wrote:

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: Chris Ridd <email@hidden>
References: 
 >Re: Looking for Cocoa diff and hash objects/ library (From: Chris Ridd <email@hidden>)

  • Prev by Date: Re: Cocoa Rules
  • Next by Date: Re: simple telnet-like networking in cocoa
  • 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