今天处理公司账号和密码,呵呵发现一个问题就是md5和数据库有不兼容性了。先贴出md5加密代码:
string PassWord = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(passWord, "MD5");
今天处理公司账号和密码,呵呵发现一个问题就是md5和数据库有不兼容性了。先贴出md5加密代码:
string PassWord = System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(passWord, "MD5");
转载于:https://www.cnblogs.com/yugang/archive/2008/10/10/1308072.html