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

cipher.des

DES and Triple DES (ECB, CBC, CFB, OFB, CTR) for Lua strings and carrays

$ luarocks install cipher.des

The module cipher.des of lua-cipher provides the block ciphers DES and
Triple DES (EDE with two or three keys) in the modes ECB, CBC (PKCS#7
padding), CFB, CFB8, OFB and CTR, in one call or as a stream, and a
reusable key schedule object for single blocks, for reading and writing
legacy formats. Own self-contained C code 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