$ 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
Dependencies
lua >= 5.1