public string encryptStr(string strPassword) { MD5 md5 = new MD5CryptoServiceProvider(); byte[] pwd = Encoding.Unicode.GetBytes(strPassword); string ePwd = Encoding.Unicode.GetString(md5.ComputeHash(pwd)); return ePwd; }
string
byte[]
Convert.ToBase64String(hashResult);
byte
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)