Пример #1
0
        /// <summary>
        /// Cookie解密
        /// </summary>
        /// <param name="pToEncrypt"></param>
        /// <returns></returns>
        public string Decrypt_v2(string pToEncrypt)
        {
            string str = DESCryptoHelper.DESDecrypt(pToEncrypt, manager.ConstantManager.CookieValidCodeKey);

            return(str);
        }
Пример #2
0
        /// <summary>
        /// Cookie解密
        /// </summary>
        /// <param name="pToEncrypt"></param>
        /// <returns></returns>
        public string Decrypt(string pToEncrypt)
        {
            string str = DESCryptoHelper.DESDecrypt(pToEncrypt, manager.ConstantManager.key);

            return(str);
        }