.NET中获取字符串的MD5码

引入命名空间:

1  using System.Web.Security;

获取MD5码:

1 string Password = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text.ToString(), "MD5");



 

原文地址:https://www.cnblogs.com/ma_x/p/2294526.html