2æ23 MD5ãè¨ç®ãã Cocoaããã°ã©ã ä¸ã§MD5å¤ãè¨ç®ããéã«ã¯ãCC_MD5ã¨ããé¢æ°ã使ããã¨ãã§ãã¾ããApple社ã§éçºããããã®ã§ãããOpenSSLã®MD5é¢æ°ã¨äºæã«ãªãããã«ä½ããã¦ãã¦ã以ä¸ã®ããã«ç°¡åã«ä½¿ããã¨ãã§ãã¾ãã #import <CommonCrypto/CommonDigest.h> // CC_MD5 ã®å®£è¨ãå«ã¾ãã¦ããããããã¡ã¤ã« NSString *testString = @"Test"; // md5ãè¨ç®ãããæåå const char *test_cstr = [testString UTF8String]; // Cè¨èªã®æååãåå¾ãã unsigned char md5_result[CC_MD5_DIGEST_LENGTH]; // MD5ã®è¨ç®çµæãä¿æããé å CC_MD5(test_cstr, strlen(t
{{#tags}}- {{label}}
{{/tags}}