摘要:
link address:http://www.makebetterthings.com/iphone/how-to-get-md5-and-sha1-in-objective-c-ios-sdk/IOS的两种加密算法。这个适合对于用户密码等重要信息进行加密处理。SHA1 -1234567891011121314151617-(NSString*) sha1:(NSString*)input{const char *cstr = [input cStringUsingEncoding:NSUTF8StringEncoding];NSData *data = [NSData dataWithBy 阅读全文
posted @ 2012-03-08 12:19 星尘的天空 阅读(352) 评论(0) 推荐(0) 编辑