using System.Web.Security;

string md5(string pwd)

{

         string MD5=FormsAuthentication.HashPasswordForStoringInConfigFile(pwd,"MD5");

         return MD5;

}
posted on 2006-12-09 18:50  球艺  阅读(138)  评论(0)    收藏  举报