摘要:
应用名称空间:using System.Security;using System.Security.Principal;using System.Security.Cryptography;using System.Text;函数代码如下:public string Encrypt(string password){ ///获取Byte数组Byte[] clearBytes = new UnicodeEncoding().GetBytes(password);///获取Hash值Byte[] hashedBytes = ((HashAlgorithm)CryptoConfig.CreateF 阅读全文