XOR‐based obfuscation over a fixed‐size key, applied to byte ranges.
Synopsis
Declared in <util/obfuscation.h>
class Obfuscation;
Type Aliases
Name |
Description |
Unsigned integer type holding one obfuscation key word. |
Member Functions
Name |
Description |
|
Constructors |
Return the key as a hex string. |
|
Serialize the key as a length‐prefixed byte vector. |
|
Read the key from a length‐prefixed byte vector, throwing on a wrong size. |
|
Obfuscate (or de‐obfuscate) a byte range in place by XORing it with the key. |
|
Test whether the obfuscation is active. |
Static Data Members
Name |
Description |
Size of the obfuscation key in bytes. |
Non-Member Functions
Name |
Description |
Work around circular dependency, as well as for testing in dbwrapper_tests. Database obfuscation should be considered an implementation detail of the specific database. |
Created with MrDocs