iOS/iPhone/iPad/MacOSX プログラミング, Objective-C, Cocoaなど 文字列を MD5変換したい。下記が参考になった。 MD5 algorithm in Objective C - Stack Overflow サンプルコード 上記のサイトを参考に(というかほとんどそのまんまだが)NSString のカテゴリを書いてみた。 #import "NSString_Extension.h" #import @implementation NSString (Extension) /* * from: http://stackoverflow.com/questions/1524604/md5-algorithm-in-objective-c */ - (NSString *)md5String { const char *cStr = [self UTF8St