JustasMasiulis/xorstr
heavily vectorized c++17 compile time string encryption. observed · 2026-08-28
Health v2 · maintenance only
32/100
- Activity 0
- Release rhythm 35
- Longevity 100
Flags: no_releases
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 3107
- days_rel: n/a
- days_push: 1748
- n_releases_24m: 0
Adoption not part of the score
1441 stars · 196 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A header-only C++17 library that encrypts string literals at compile time using XOR with 64-bit keys and vectorized (SSE/AVX) inlined decryption. It hides strings from static analysis by embedding encrypted data directly into code rather than .rdata sections.
Use cases
- hide string literals from reverse engineering
- obfuscate strings in C++ binaries
- prevent static analysis of embedded strings
- encrypt compile-time constants in C++
- protect malware-unrelated software from string-based scanning
- avoid plaintext strings in .rdata section
When to choose
- you need compile-time string obfuscation in C++ with zero runtime dependencies
- you want decryption fully inlined and vectorized for performance
- you need cross-platform support for GCC, Clang, and MSVC
When to avoid
- you need strong cryptographic security rather than obfuscation
- your project targets compilers older than GCC 7.1 or Clang 5.0
- you need runtime-configurable encryption keys
- your CPU lacks SSE and you cannot tolerate AVX-only paths
Facets
library · maturity maintenance
cryptography serialization security developer-tools cpp cross-platform windows compile-time string-encryption obfuscation header-only xor simd avx cpp17 reverse-engineering-protection linux macos
1 source
- readme: https://github.com/JustasMasiulis/xorstr · fetched 2026-08-28 · a9fa6d5bc921
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| JustasMasiulis/xorstr | main | 32 |
For agents
markdown · JSON · MCP: product_card(name="JustasMasiulis/xorstr")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem