摘要:
方法一://须添加对System.Web的引用usingSystem.Web.Security;...///<summary>///SHA1加密字符串///</summary>///<paramname="source">源字符串</param>///<returns>加密后的字符串</returns>publicstringSHA1(stringsource){returnFormsAuthentication.HashPasswordForStoringInConfigFile(source,&qu 阅读全文