Skip to main content

Module hash

Module hash 

Source
Expand description

Password hashing and cryptographic digest utilities.

Password helpers use Argon2id with a fresh random salt for each new hash. The SHA-256 submodule provides byte-oriented digest helpers.

Modules§

argon 🔒
sha256
SHA-256 digest helpers.

Functions§

password
Hashes a plaintext password with Argon2id.
verify_password
Verifies a plaintext password against an encoded Argon2 password hash.