18#ifndef _WORLDPACKETCRYPT_H
19#define _WORLDPACKETCRYPT_H
26 using Key = std::array<uint8, 32>;
30 void Init(
Key const& key);
31 bool PeekDecryptRecv(
uint8* data,
size_t length);
uint8[TAG_SIZE_BYTES] Tag
Trinity::Crypto::AES _clientDecrypt
bool IsInitialized() const
Trinity::Crypto::AES _serverEncrypt
std::array< uint8, 32 > Key