cheat-lua-encryption

Installation
SKILL.md

Cheat & Lua Encryption/Decryption

When to Use

Use when encrypting game cheats or Lua scripts to bypass detection, or decrypting obfuscated Lua code.

Lua Script Encryption

Simple XOR Encryption

-- encrypt.lua
function xor_encrypt(data, key)
    local result = {}
    for i = 1, #data do
        local byte = string.byte(data, i)
        local key_byte = string.byte(key, ((i - 1) % #key) + 1)
        table.insert(result, string.char(bit32.bxor(byte, key_byte)))
    end
    return table.concat(result)
end
Installs
4
GitHub Stars
26
First Seen
Sep 27, 2026