MD5加密函数

using System.Web.Security;

 

public string encodepwd(string pwd)
{
    
string enpwd = FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "md5");
    
return enpwd;
}
posted @ 2009-03-04 12:27  Michael.Z  阅读(295)  评论(0编辑  收藏  举报