摘要: 哈希加密: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= 阅读全文
posted @ 2011-12-15 17:03 安度 阅读(253) 评论(0) 推荐(0) 编辑