![]() |
TrinityCore
|
#include <WorldPacketCrypt.h>
Public Member Functions | |
| WorldPacketCrypt () | |
| void | Init (SessionKey const &K) |
| void | Init (SessionKey const &K, std::span< uint8 const, 16 > serverKey, std::span< uint8 const, 16 > clientKey) |
| void | DecryptRecv (uint8 *data, size_t len) |
| void | EncryptSend (uint8 *data, size_t len) |
| bool | IsInitialized () const |
Private Attributes | |
| Trinity::Crypto::ARC4 | _clientDecrypt |
| Trinity::Crypto::ARC4 | _serverEncrypt |
| bool | _initialized |
Definition at line 25 of file WorldPacketCrypt.h.
| WorldPacketCrypt::WorldPacketCrypt | ( | ) |
Definition at line 22 of file WorldPacketCrypt.cpp.
| void WorldPacketCrypt::DecryptRecv | ( | uint8 * | data, |
| size_t | len | ||
| ) |
Definition at line 47 of file WorldPacketCrypt.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldPacketCrypt::EncryptSend | ( | uint8 * | data, |
| size_t | len | ||
| ) |
Definition at line 53 of file WorldPacketCrypt.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldPacketCrypt::Init | ( | SessionKey const & | K | ) |
Definition at line 26 of file WorldPacketCrypt.cpp.
Here is the call graph for this function:
Here is the caller graph for this function:| void WorldPacketCrypt::Init | ( | SessionKey const & | K, |
| std::span< uint8 const, 16 > | serverKey, | ||
| std::span< uint8 const, 16 > | clientKey | ||
| ) |
|
inline |
|
private |
Definition at line 38 of file WorldPacketCrypt.h.
|
private |
Definition at line 40 of file WorldPacketCrypt.h.
|
private |
Definition at line 39 of file WorldPacketCrypt.h.