C#中 MD5和SHA1加密代码

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

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

原文地址:https://www.cnblogs.com/liwp/p/5047151.html