.NET中获取字符串的MD5码

 

① 导入命名空间:
 using System.Web.Security;
② 获取MD5码:
string Password = FormsAuthentication.HashPasswordForStoringInConfigFile(TextBox1.Text.ToString(), "MD5");
posted @ 2009-12-16 16:29  你妹的sb  阅读(205)  评论(0编辑  收藏  举报
百度一下