rs-crypto-pbkdf2 0.1.0
PBKDF2-HMAC-SHA256 key derivation (RFC 8018), std only
Install
cargo add rs-crypto-pbkdf2 --registry rupm
In Ruststudio: Packages, search for rs-crypto-pbkdf2, Install.
Owner: Rust Studio. Licence: MIT OR Apache-2.0. Total downloads: 0. Published 2026-11-23.
Versions
- 0.1.0 2026-11-23
README
# rs-crypto-pbkdf2 PBKDF2-HMAC-SHA256 key derivation (RFC 8018), std only Add it with `rupm add rs-crypto-pbkdf2` (or `cargo add rs-crypto-pbkdf2 --registry rupm`). Checked against published PBKDF2-HMAC-SHA256 test vectors. This is a plain, unaudited and slow-to-audit implementation, so it is not meant for security-critical use such as storing real user passwords; use an audited crate there. ```rust let key = rs_crypto_pbkdf2::derive(b"password", b"salt", 4096, 32).unwrap(); assert_eq!(rs_crypto_pbkdf2::to_hex(&key), "c5e478d59288c841aa530db6845c4c8d962893a001ce4e11a4963873aa98134a"); ```