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

cipher.rc4

RC4 (ARCFOUR) stream cipher for Lua strings and carrays

$ luarocks install cipher.rc4

The module cipher.rc4 of lua-cipher provides the RC4 (ARCFOUR) stream
cipher with keys of 1 to 256 bytes, optionally discarding the first bytes
of the keystream (RC4-drop[n]), in one call or as a stream, for reading
legacy formats. Own self-contained C code, 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