MD5加密方法
public static string EncryptString(string strSourceCode)
{
return FormsAuthentication.HashPasswordForStoringInConfigFile(strSourceCode, "md5");
}
转载于:https://www.cnblogs.com/ltc31/archive/2006/07/23/457898.html
本文介绍了一种使用MD5进行字符串加密的方法,并提供了一个具体的C#实现示例。该方法利用了FormsAuthentication类的HashPasswordForStoringInConfigFile方法来生成MD5哈希值。
转载于:https://www.cnblogs.com/ltc31/archive/2006/07/23/457898.html

被折叠的 条评论
为什么被折叠?