C# .Net md5 加密

 

16λMD5
string Md5String = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("加密字符串","md5").ToLower().Substring(8,16);

32λMD5
string Md5String = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("加密字符串","md5").ToLower();

你可能感兴趣的:(.net)