FormsAuthentication 类

string s;//將s加密

System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(s,"MD5")

使用MD5加密,加密不可逆

posted @ 2012-12-20 17:51  曉軒  阅读(178)  评论(0编辑  收藏  举报