kdf

Crates.iokdf
lib.rskdf
version0.1.0-pre.1
created_at2025-05-31 14:42:57.925958+00
updated_at2026-01-14 21:36:47.129869+00
descriptionTraits for Key Derivation Functions
homepage
repositoryhttps://github.com/RustCrypto/traits
max_upload_size
id1696406
size17,120
KDFs (github:rustcrypto:kdfs)

documentation

https://docs.rs/kdf

README

RustCrypto: Key Derivation Functions (KDFs)

crate Docs Build Status Apache2/MIT licensed Rust Version Project Chat

Traits which describe the functionality of key derivation functions.

About

Key Derivation Functions (KDFs) are cryptographic algorithms that can be used to derive one or more secret keys from a secret value such as a base derivation key, output of a key-exchange algorithm, or in the case of specially designed password-based key derivation functions: a password.

KDFs can be used to stretch shorter input keys into longer keys or to obtain multiple keys from a single input. They can also be used to transform non-uniform secret values, like the output of a Diffie-Hellman exchange, into uniformly random secrets suitable for use as keys for symmetric cryptographic algorithms (e.g. AES, ChaCha20).

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.

Commit count: 1861

cargo fmt