Skip to main content

tuwunel_core/utils/
hash.rs

1//! Password hashing and cryptographic digest utilities.
2//!
3//! Password helpers use Argon2id with a fresh random salt for each new hash.
4//! The SHA-256 submodule provides byte-oriented digest helpers.
5
6mod argon;
7
8pub mod sha256;
9
10pub use self::argon::{Cost, PhcString, password, verify_password};