Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: md5 for Cocoa / Linker problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: md5 for Cocoa / Linker problems



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>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.