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();

posted @ 2009-09-18 10:27  Sissynong  阅读(275)  评论(0编辑  收藏  举报