LuaRocks.org had a security incident in September 2026. Read the incident report.

cipher.aes

AES encryption (ECB, CBC, CFB, OFB, CTR, GCM) for Lua strings and carrays

$ luarocks install cipher.aes

The module cipher.aes of lua-cipher provides the AES block cipher with
128, 192 and 256 bit keys in the modes ECB, CBC (PKCS#7 padding), CFB,
CFB8, OFB, CTR and GCM (authenticated encryption), in one call or as a
stream, and a reusable key schedule object for single blocks. Own
self-contained C code (bitsliced, without table lookups), no external
library. Data may be Lua strings or carray objects, read without
copying; the output can be written directly into a carray.

Versions

scm-0dev4 hours ago0 downloads
0.0.1-14 hours ago0 downloads

Dependencies

lua >= 5.1

Dependency for

cipher

Manifests