md5 封装加密简单代码 using System.Web.Security; FormsAuthentication.HashPasswordForStoringInConfigFile(str, "MD5")