04 2013 档案

摘要:方法一://须添加对System.Web的引用 using System.Web.Security; ... /// <summary> /// SHA1加密字符串 /// </summary> /// <param name="source">源字符串</param> /// <returns>加密后的字符串</returns> public string SHA1(string source) { return FormsAuthentication.HashPasswordForStoringIn 阅读全文
posted @ 2013-04-07 11:10 猎鹰-aspnet 阅读(204) 评论(0) 推荐(0) 编辑