#import <NSData+MD5.h>
Definition at line 11 of file NSData+MD5.h.
◆ MD5()
Definition at line 14 of file NSData+MD5.m.
17 unsigned char md5Buffer[CC_MD5_DIGEST_LENGTH];
20 CC_MD5(
self.bytes, (
unsigned int)
self.length, md5Buffer);
23 NSMutableString *output = [NSMutableString stringWithCapacity:CC_MD5_DIGEST_LENGTH * 2];
24 for(
int i = 0; i < CC_MD5_DIGEST_LENGTH; i++)
25 [output appendFormat:
@"%02x",md5Buffer[i]];
The documentation for this category was generated from the following files: