asp.net 2.0 中的两种加密方法
2007-04-03 17:09 ruinet 阅读(326) 评论(0) 收藏 举报
在asp.net 2.0 中有两种加密方法:MD5 和SHA1
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("要加密的字符串", "MD5")
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("要加密的字符串", "SHA1")
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("要加密的字符串", "MD5")
System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile("要加密的字符串", "SHA1")
浙公网安备 33010602011771号