public static string DecryptCookie(string str) { var base64 = Crypt.Decrypt(str, cookieKey); string result = Base64Encoding.DecodeBase64(base64); return(result); }