摘要: Calculating the md5 and sha1 hash in iOS sdk is pretty simple -Step 1– The very first thing you need to do is import CommonCrypto’s CommonDigest.h1#import Step 2– Here is the real code for calculating SHA1 and MD5 hash -SHA1 -1234567891011121314151617-(NSString*) sha1:(NSString*)input{const char *cs 阅读全文
posted @ 2014-03-30 19:50 黄伟同学 阅读(205) 评论(0) 推荐(0)