RustCrypto: Key Derivation Functions (KDFs)
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.