有关MD5:
public string GetMD5(string pwd) { return System.Web.Security.FormsAuthentication.HashPasswordForStoringInConfigFile(pwd, "md5"); }
传入一个字符串,返回一个加密后的字符字符串