Calculate MD5 on iPhone
Mac, Windows Vista
Developer Forums relocated!
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
Need help with Apple Developer tools and technologies? Want to share information with other developers and Apple engineers? Visit Developer Forums at Apple.
Mac, Windows Vista
EagerEyes wrote:
There's a function CC_MD5, which is used in the WiTap example.
#import <CommonCrypto/CommonDigest.h>
....
unsigned char digest[16];
char finaldigest[32];
int i;
CC_MD5([self bytes],[self length],digest);
Calculate MD5 on iPhone