ShineWayCN

WE CONSTRUCT PROFESSIONAL WEB

导航

.NET中的MD5加密

  1. 导入命名空间System.Web.Security
  2. MD5加密String _strMD5Password=FormsAuthentication.HashPasswordForStoringInConfigFile("password", "MD5");
  3. SHA1加密String _strSHA1Password=FormsAuthentication.HashPasswordForStoringInConfigFile("password", "SHA1");

posted on 2005-06-28 21:03  ShineWayCN  阅读(709)  评论(0编辑  收藏  举报