把密码转为md5的形式

xiaoxiao2026-03-10  11

using System.Web.Security;      protected void Page_Load(object sender, EventArgs e)    {        Response.Write("123的MD吗是" + FormsAuthentication.HashPasswordForStoringInConfigFile("123","MD5"));    }

        string pwd = txtpassword.Text.Trim();        //把密码转为md5的形式        pwd = FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "MD5");       bool b=LoginManager.Login(name,pwd );

相关资源:MD5密码转换器
转载请注明原文地址: https://www.6miu.com/read-5045679.html

最新回复(0)