Poehoe.Crypto.DecryptResponse C# (CSharp) Method

DecryptResponse() public static method

public static DecryptResponse ( byte Data, string Key = null ) : string
Data byte
Key string
return string
        public static string DecryptResponse(byte[] Data, string Key = null)
        {
            var b = ZipCrypto.Decrypt(Data, Encoding.UTF8.GetBytes(Key ?? ZipKey));
            return Encoding.Unicode.GetString(b, 0, b.Length);
        }

Same methods

Crypto::DecryptResponse ( string Data, string Key = null ) : string