#include <obfuscation.h>
Definition at line 19 of file obfuscation.h.
◆ KeyType
◆ Obfuscation() [1/2]
Obfuscation::Obfuscation |
( |
| ) |
|
|
inline |
◆ Obfuscation() [2/2]
Obfuscation::Obfuscation |
( |
std::span< const std::byte, KEY_SIZE > |
key_bytes | ) |
|
|
inlineexplicit |
◆ HexKey()
std::string Obfuscation::HexKey |
( |
| ) |
const |
|
inline |
◆ operator bool()
Obfuscation::operator bool |
( |
| ) |
const |
|
inline |
◆ operator()()
void Obfuscation::operator() |
( |
std::span< std::byte > |
target, |
|
|
size_t |
key_offset = 0 |
|
) |
| const |
|
inline |
◆ Serialize()
template<typename Stream >
void Obfuscation::Serialize |
( |
Stream & |
s | ) |
const |
|
inline |
◆ SetRotations()
void Obfuscation::SetRotations |
( |
KeyType |
key | ) |
|
|
inlineprivate |
◆ ToKey()
static KeyType Obfuscation::ToKey |
( |
std::span< const std::byte, KEY_SIZE > |
key_span | ) |
|
|
inlinestaticprivate |
◆ Unserialize()
template<typename Stream >
void Obfuscation::Unserialize |
( |
Stream & |
s | ) |
|
|
inline |
◆ XorWord()
static void Obfuscation::XorWord |
( |
std::span< std::byte > |
target, |
|
|
KeyType |
key |
|
) |
| |
|
inlinestaticprivate |
◆ KEY_SIZE
constexpr size_t Obfuscation::KEY_SIZE {sizeof(KeyType)} |
|
staticconstexpr |
◆ m_rotations
The documentation for this class was generated from the following file: