MD5 Hash?
MD5 Hash?
- Subject: MD5 Hash?
- From: Dave DeLong <email@hidden>
- Date: Sat, 26 Mar 2005 23:52:47 -0700
Hi List,
I'm sure this question has come up before, but here goes:
I'm looking for a way to create an MD5 hash from two strings. I've searched around for stuff, and I've found claims that Cocoa doesn't have an MD5 function built in. I've found people telling me to import <openssl/md5.h>, great, but what do I do with it from there? I'm also confused because I found this line on a forum:
<x-tad-smaller> foo = [[[[NSData alloc] initWithContentsOfFile: @"my.data"] autorelease] md5];
</x-tad-smaller>Which makes me think that perhaps Cocoa does have some MD5 code squirreled away somewhere??
Help!
Thanks a bunch!
Dave DeLong
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden