adamyaxley/Obfuscate
Guaranteed compile-time string literal obfuscation header-only library for C++14 observed · 2026-08-28
Health v2 · maintenance only
63/100
- Activity 85
- Release rhythm 13
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3213
- days_rel: 364
- days_push: 91
- n_releases_24m: 1
Adoption not part of the score
1338 stars · 185 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A header-only C++14 library that obfuscates string literals at compile time using constexpr XOR encryption with a random 64-bit key, preventing plain-text strings from appearing in compiled binaries. Strings are wrapped with the AY_OBFUSCATE macro and decrypted at runtime.
Use cases
- hide string literals in compiled binaries
- prevent strings utility from revealing embedded text
- obfuscate strings in a C++ project
- protect against casual binary string analysis
- embed encrypted strings in C++14 code
When to choose
- you need guaranteed compile-time string encryption in C++
- you want a single header with zero dependencies
- you need strings implicitly convertible to char* for easy integration
When to avoid
- you need strong security against determined attackers - the author explicitly warns this is not for protecting secrets
- your project doesn't support C++14 or newer
- you need runtime-configurable encryption rather than compile-time obfuscation
Facets
library · maturity stable
security cryptography developer-tools security developer-tools cross-platform cpp cross-platform windows string-obfuscation header-only compile-time xor-cipher cpp14 anti-reverse-engineering string-literals linux macos
1 source
- readme: https://github.com/adamyaxley/Obfuscate · fetched 2026-08-28 · b5a7b4abae42
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| adamyaxley/Obfuscate | main | 63 |
For agents
markdown · JSON · MCP: product_card(name="adamyaxley/Obfuscate")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem