This is a module for xxtea encrypt in lua, implemented with C programming language.
- make
- copy the created xxtea.so to anywhere your lua code can load it.
- in lua code:
local xxtea = require("xxtea")
local encrypted = xxtea.encrypte(data-to-be-encrypted, key)
local decrypted = xxtea.decrypte(data-to-be-decrypted, key)