[package]
name = "scrypt"
version = "0.12.0"
description = "Scrypt password-based key derivation function"
authors = ["RustCrypto Developers"]
license = "MIT OR Apache-2.0"
readme = "README.md"
documentation = "https://docs.rs/scrypt"
homepage = "https://github.com/RustCrypto/password-hashes/tree/master/scrypt"
repository = "https://github.com/RustCrypto/password-hashes"
keywords = ["crypto", "hashing", "password", "phf"]
categories = ["authentication", "cryptography", "no-std"]
edition = "2024"
rust-version = "1.85"
[dependencies]
cfg-if = "1.0"
pbkdf2 = { version = "0.13", path = "../pbkdf2" }
salsa20 = { version = "0.11", default-features = false }
sha2 = { version = "0.11", default-features = false }
rayon = { version = "1.11", optional = true }
ctutils = { version = "0.4", optional = true }
kdf = { version = "0.1", optional = true }
mcf = { version = "0.6", optional = true }
password-hash = { version = "0.6", optional = true, default-features = false }
[features]
alloc = ["password-hash?/alloc"]
getrandom = ["password-hash", "password-hash/getrandom"]
kdf = ["alloc", "dep:kdf"]
mcf = ["alloc", "phc", "dep:ctutils", "dep:mcf"]
phc = ["password-hash/phc"]
rand_core = ["password-hash/rand_core"]
parallel = ["dep:rayon"]
[lints]
workspace = true
[package.metadata.docs.rs]
all-features = true