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

MD5, SHA-256/384/512 and HMAC for Lua (one-shot and streaming)

$ luarocks install digest

Message digests for Lua in one C module: MD5, SHA-256, SHA-384
and SHA-512 as binary or lowercase hex strings, one-shot or
through streaming digest objects (add/digest/hexdigest/reset/
clone), and HMAC (RFC 2104) for all of them. Data may be Lua
strings or, optionally, carray objects (read without copying).
No dependencies beyond Lua; works with Lua 5.1 up to 5.5 and
LuaJIT.

Versions

scm-0dev9 hours ago(revision: 2)0 downloads
0.0.1-19 hours ago(revision: 2)0 downloads

Dependencies

lua >= 5.1

Manifests