ãã¼ã¿è»¢éããã¨ãã«å¦¥å½æ§ãã§ãã¯ã«MD5ã使ããããã§ãã©ã¼ãã£ã¦è¨ç®ããã°ãããã ãã¨æã£ã¦ããNSDataããMD5ãè¨ç®ããæ¹æ³ã¿ã£ãã :-) Create MD5 Hash from NSString, NSData or a File ã«ãã´ãªã使ã£ã¦ NSData ã«çµã¿è¾¼ãã§ãããããªæãã NSData+MD5.h @interface NSData(MD5) - (NSString *)MD5; @endNSData+MD5.m #import <CommonCrypto/CommonDigest.h> @implementation NSData(MD5) - (NSString*)MD5 { // Create byte array of unsigned chars unsigned char md5Buffer[CC_MD5_DIGEST_LENGTH]; /
{{#tags}}- {{label}}
{{/tags}}