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
阅读全文