niunan 发表于 2013-1-27 04:50:01

.NET中获取字符串的MD5码

① 导入命名空间:
using System.Web.Security;

② 获取MD5码:
string Password = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text.ToString(), "MD5");
页: [1]
查看完整版本: .NET中获取字符串的MD5码