| Crates.io | kdf |
| lib.rs | kdf |
| version | 0.1.0-pre.1 |
| created_at | 2025-05-31 14:42:57.925958+00 |
| updated_at | 2026-01-14 21:36:47.129869+00 |
| description | Traits for Key Derivation Functions |
| homepage | |
| repository | https://github.com/RustCrypto/traits |
| max_upload_size | |
| id | 1696406 |
| size | 17,120 |
Traits which describe the functionality of key derivation functions.
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).
Licensed under either of
at your option.
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.