Protect your Lua code with Aegis
Military-grade obfuscation with a custom bytecode VM, encrypted strings and control-flow flattening. One token, one encryption — simple and fast.
Everything you need to lock down your code
Aegis turns readable Lua into an unreadable fortress without sacrificing performance.
Custom VM
Your code runs inside a proprietary bytecode virtual machine.
String encryption
Every string literal is XOR-encrypted and decoded at runtime.
Control-flow flattening
Logic is rewritten into a shuffled state machine.
Number obfuscation
Constants become exact arithmetic expressions.
Name scrambling
Locals, globals and labels are renamed across scopes.
Fast runtime
Memoized decryption keeps your code snappy.
What we do
Turn readable source into an unreadable fortress — without slowing your code down.
Source protection
Strings, numbers, control flow and names are all scrambled in-place.
VM virtualization
Compile to a custom bytecode VM so no readable logic remains.
Runtime keys
Encrypted strings decode only when your app actually runs.
Instant delivery
Paste, encrypt, download — in under a second.
local secret = "api-key-1234"
local function greet(name)
print("Hello, " .. name)
end
greet(secret)-- protected by Aegis
local _a = { 214, 165, 132, 89 }
local _d = function(_k)
local _t = {}
for _i = 1, #_a do
_t[_i] = string.char(_a[_i] ~ _k)
end
return table.concat(_t)
endSimple, fair pricing
Buy a plan, get tokens, encrypt as many files as you need.
How it works
Pick a plan
Choose a monthly or one-time token pack.
Get your tokens
Tokens land in your dashboard instantly.
Encrypt
Paste your Lua, pick your macros, hit encrypt.
Ship it
Download the protected file and deploy anywhere.