摘要:
哈希加密:MD5:byte[]data=newbyte[DATA_SIZE];//ThisisoneimplementationoftheabstractclassMD5.MD5md5=newMD5CryptoServiceProvider();byte[]result=md5.ComputeHash(data);SHA1:byte[]data=newbyte[DATA_SIZE];byte[]result;SHA1sha=newSHA1CryptoServiceProvider();//ThisisoneimplementationoftheabstractclassSHA1.result= 阅读全文