摘要: 方法一://须添加对System.Web的引用usingSystem.Web.Security;...///<summary>///SHA1加密字符串///</summary>///<paramname="source">源字符串</param>///<returns>加密后的字符串</returns>publicstringSHA1(stringsource){returnFormsAuthentication.HashPasswordForStoringInConfigFile(source,&qu 阅读全文
posted @ 2011-03-24 17:17 荡来荡去(allen) 阅读(247) 评论(0) 推荐(0) 编辑