111,096
社区成员




public static string MD5(string password)
{
byte[] b = System.Text.Encoding.Default.GetBytes(password);
b = new System.Security.Cryptography.MD5CryptoServiceProvider().ComputeHash(b);
string ret = "";
for (int i = 0; i < b.Length; i++)
ret += b[i].ToString("x").PadLeft(2, '0');
return ret;
}