#include <cstddef>#include <cstdint>#include <promeki/core/namespace.h>#include <promeki/core/string.h>#include <promeki/core/fnv1a.h>
Go to the source code of this file.
Classes | |
| class | ObfuscatedString< N, Seed > |
| Compile-time string obfuscation. More... | |
Macros | |
| #define | PROMEKI_OBFUSCATE_SEED |
| Combines FILE, LINE, DATE, and TIME into a unique per-site seed. | |
| #define | PROMEKI_OBFUSCATE(str) |
| Obfuscates a string literal at compile time. | |
See LICENSE file in the project root folder for license information.
| #define PROMEKI_OBFUSCATE | ( | str | ) |
Obfuscates a string literal at compile time.
The string is encoded at compile time and decoded at runtime on each access. Returns a promeki::String containing the original plaintext.
| str | The string literal to obfuscate. |