• 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: md5 for Cocoa / Linker problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: md5 for Cocoa / Linker problems


  • Subject: Re: md5 for Cocoa / Linker problems
  • From: Malte Tancred <email@hidden>
  • Date: Fri, 2 Jul 2004 14:55:10 +0200

On 2 jul 2004, at 03.08, Michael Becker wrote:
b) Is there any wrapper / easy-to-use class out there to compute md5 values of an NSString (resp. NSData) object?

I just sent this to the xcode list (partial answer)

<snip>
Why not use OpenSSL? If you do you need to add libcrypto (/usr/lib/libcrypto.dylib) to your project and include <openssl/evp.h>.

I started a project some time ago where I wrote an Objective-C wrapper around the OpenSSL digest functions. Not finished, may contain horrible bugs etc, but I made it available for download nevertheless.

http://oops.se/~malte/software/scrap/ObjcMessageDigestTest.tar.gz

As you can see, the code uses the OpenSSL EVP interface which seems to be the way to go nowadays. The code only does md5 at the moment, but adding SHA1 and others is as you can see very easy.
</snip>

Regards,
Malte

--
Malte Tancred
Computer Programmer
Oops AB, http://oops.se/
_______________________________________________
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: 
 >md5 for Cocoa / Linker problems (From: Michael Becker <email@hidden>)

  • Prev by Date: How to create shortcut on the Dock?
  • Next by Date: Avoiding column sorting
  • Previous by thread: Re: md5 for Cocoa / Linker problems
  • Next by thread: Another Question: Mixing Objective-C and C++ in Xcode
  • Index(es):
    • Date
    • Thread