摘要: 1 方法一: 2 //须添加对System.Web的引用 3 using System.Web.Security; 4 5 ... 6 7 /// 8 /// SHA1加密字符串 9 /// 10 /// 源字符串 11 /// 加密后的字符串 12 public string SHA1(string source) 13 { 14 return FormsAuthentication.HashPasswordForStoringInConfigFile(so... 阅读全文
posted @ 2013-06-27 15:24 蘑菇肉片 阅读(256) 评论(0) 推荐(0) 编辑