Example #1
0
        public void Decrypt(byte[] key)
        {
            _buffer = CryptoFunctions.DecryptPacket(_buffer, key);

            if (_buffer.Length > 12)
            {
                if (_buffer[11] == 0x78 && _buffer[12] == 0x01)
                {
                    _buffer = Compression.UncompressPacket(_buffer);
                }
            }
        }