C#实现MD5不可逆加密
public static string SetEncrypt(string text)
{
if(text == "")
{
return "";
}
MD5CryptoServiceProvider md5 = new MD5CryptoServiceProvider();
string cryptText = BitConverter.ToString(md5.ComputeHash(UTF8Encoding.Default.GetBytes(text)), 6, 8);
return cryptText;
}本贴子以“现状”提供且没有任何担保,同时也没有授予任何权利
This posting is provided "AS IS" with no warranties, and confers no rights.
This posting is provided "AS IS" with no warranties, and confers no rights.


浙公网安备 33010602011771号