Skip to content
Guest Big Announcement

Vortex — Compile-Time Obfuscation

Featured Replies

Updated

VORTEX — Compile-Time Obfuscation

Ever run strings on a binary and instantly spot API keys, error messages, or internal logic? VORTEX makes that impossible.

It's a pure C11 header library that encrypts string and numeric constants at compile time — before your binary is ever written to disk. No runtime keys stored in memory. No external dependencies. Stack-only allocation.

The cipher is two-tiered: a global seed derived from your build date shapes an S-box, while a per-call-site key (based on __FILE__, __LINE__, and __TIME__) produces unique encryption per string. The result: identical source strings produce completely different binary blobs at different call sites.

Usage is a single macro:

OBF_WITH(secret, "Bearer sk-...") {
     send_request(secret); // zeroed on scope exit
}

float pi    = OBF_FLOAT(3.14159265f);
double gravity = OBF_DOUBLE(9.80665);
size_t off    = OBF_OFFSET(0xfa);
int port     = OBF_INT(8443);
OBF_STRING(secret, "xK9#mP2$qR7!wL4@"); // printf(secret)

strings, IDA Pro, and Ghidra see only noise. Your source stays readable.

No heap. No deps. Drop in obfuscate.h and go. 

→ https://github.com/Batchhh/Vortex-obfuscation

→ https://github.com/Batchhh/Vortex-obfuscation/releases/tag/v1.0.0 - Contains obfuscate.h and libvortex.a

 

Updated by Batch

  • Replies 30
  • Views 6.4k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • VORTEX — Compile-Time Obfuscation Ever run strings on a binary and instantly spot API keys, error messages, or internal logic? VORTEX makes that impossible. It's a pure C11 header library th

  • Interesting. Gonna give it a look and think of a few use cases in my own cheats. ❤️

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.