C# .net MD5加密函数 using System.Web.Security; string password =FormsAuthentication.HashPasswordForStoringInConfigFile(txtPass.Text,"MD5");