13
2012
08

开发通用类 - 字符串加密、解密篇


/// <summary>
/// MD5加密
/// </summary>
/// <param name="source"></param>
/// <returns></returns>
public static string EncryptByMd5(string source)
{
    return FormsAuthentication.HashPasswordForStoringInConfigFile(source, "MD5");
...

«1»