Pwd = FormsAuthentication.HashPasswordForStoringInConfigFile(entity.Pwd, "MD5");
Pwd = FormsAuthentication.HashPasswordForStoringInConfigFile(entity.Pwd, "SHA1");