bcryptlua

bcrypt password hashing for Lua, powered by Rust

$ luarocks install bcryptlua

Safe bcrypt password hashing with a two-function API: hash and
verify (plus cost, for rehash-on-login checks). The implementation
is a native module written in Rust: OS CSPRNG salts, constant-time
verification, no C-string truncation pitfalls. Generates standard
$2b$ hashes and verifies $2a$/$2x$/$2y$ ones, so password
databases from PHP, Python or Node keep working.

Versions

dev-1dev4 hours ago0 downloads
0.1.0-14 hours ago6 downloads

Dependencies

lua >= 5.1

Manifests