Files
rustcrypto-password-hashes/pbkdf2/Cargo.toml
Tony Arcieri a108eff9f2 Bump password-hash to v0.6.0-rc.2 (#737)
This upgrades `rand_core` to v0.10 prereleases and depends directly on
`getrandom` for access to the system RNG.

It additionally bumps other crates like `digest` and `blake2` which use
the new `crypto-common` with an upgraded `rand_core`.

This required restoring some functionality in `blake2` which was used by
`argon2`: https://github.com/RustCrypto/hashes/pull/754

This is currently referenced as a git branch until we decide if this is
a permanent solution for `argon2` or not, so as to unblock the upgrade.
2025-11-05 15:14:25 -07:00

41 lines
1.3 KiB
TOML

[package]
name = "pbkdf2"
version = "0.13.0-rc.1"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
description = "Generic implementation of PBKDF2"
documentation = "https://docs.rs/pbkdf2"
homepage = "https://github.com/RustCrypto/password-hashes/tree/master/pbkdf2"
repository = "https://github.com/RustCrypto/password-hashes"
keywords = ["crypto", "hashing", "password", "phf"]
categories = ["authentication", "cryptography", "no-std"]
readme = "README.md"
edition = "2024"
rust-version = "1.85"
[dependencies]
digest = { version = "0.11.0-rc.4", features = ["mac"] }
# optional dependencies
password-hash = { version = "0.6.0-rc.2", default-features = false, optional = true, features = ["rand_core"] }
hmac = { version = "0.13.0-rc.3", default-features = false, optional = true }
sha1 = { version = "0.11.0-rc.3", default-features = false, optional = true }
sha2 = { version = "0.11.0-rc.3", default-features = false, optional = true }
[dev-dependencies]
hmac = "0.13.0-rc.3"
hex-literal = "1"
sha1 = "0.11.0-rc.3"
sha2 = "0.11.0-rc.3"
streebog = "0.11.0-rc.3"
belt-hash = "0.2.0-rc.3"
[features]
default = ["hmac"]
std = []
getrandom = ["simple", "password-hash/getrandom"]
simple = ["getrandom", "hmac", "password-hash", "sha2"]
[package.metadata.docs.rs]
all-features = true