Ejemplo n.º 1
0
 /// <summary>
 /// 获取 密码 Cookie 解密 字符串
 /// </summary>
 /// <param name="eccryptKey"></param>
 /// <returns></returns>
 public static string GetPasswordCookieDecryptStr(string eccryptKey)
 {
     return(DESHelper.Decrypt(eccryptKey));
 }
Ejemplo n.º 2
0
 /// <summary>
 /// 获取 密码 Cookie 加密 字符串
 /// </summary>
 /// <param name="md5Password"></param>
 /// <returns></returns>
 public static string GetPasswordCookieEncryptStr(string md5Password)
 {
     return(DESHelper.Encrypt(md5Password));
 }