/// <summary> /// 返回论坛用户密码cookie明文 /// </summary> /// <param name="password">密码密文</param> /// <param name="key">密钥</param> /// <returns></returns> public static string GetCookiePassword(string password, string key) { return(DES.Decode(password, key)); }
/// <summary> /// 返回论坛用户密码cookie明文 /// </summary> /// <param name="key">密钥</param> /// <returns></returns> public static string GetCookiePassword(string key) { return(DES.Decode(GetCookie("password"), key).Trim()); }