AEGIS

Lua · Luau · Roblox · FiveM

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.

NEWCustom bytecode VM protection is live
2
Engines (Luau + Lua 5.4)
6
Protection layers
1
Token per file
∞
Custom plans

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.

01

Source protection

Strings, numbers, control flow and names are all scrambled in-place.

02

VM virtualization

Compile to a custom bytecode VM so no readable logic remains.

03

Runtime keys

Encrypted strings decode only when your app actually runs.

04

Instant delivery

Paste, encrypt, download — in under a second.

Before
After Aegis
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)
end

Simple, fair pricing

Buy a plan, get tokens, encrypt as many files as you need.

How it works

01

Pick a plan

Choose a monthly or one-time token pack.

02

Get your tokens

Tokens land in your dashboard instantly.

03

Encrypt

Paste your Lua, pick your macros, hit encrypt.

04

Ship it

Download the protected file and deploy anywhere.

Ready to lock it down?

Join now and encrypt your first file in under a minute.