Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion kdf/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "kdf"
version = "0.0.0"
version = "0.1.0-pre.0"
authors = ["RustCrypto Developers"]
edition = "2024"
rust-version = "1.85"
Expand Down
15 changes: 15 additions & 0 deletions kdf/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
![Rust Version][rustc-image]
[![Project Chat][chat-image]][chat-link]

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
Expand All @@ -28,6 +40,8 @@ dual licensed as above, without any additional terms or conditions.
[crate-link]: https://crates.io/crates/kdf
[docs-image]: https://docs.rs/kdf/badge.svg
[docs-link]: https://docs.rs/kdf/
[build-image]: https://github.com/RustCrypto/traits/actions/workflows/kdf.yml/badge.svg
[build-link]: https://github.com/RustCrypto/traits/actions/workflows/kdf.yml
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[rustc-image]: https://img.shields.io/badge/rustc-1.85+-blue.svg
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
Expand All @@ -38,3 +52,4 @@ dual licensed as above, without any additional terms or conditions.
[//]: # (links)

[RustCrypto]: https://github.com/RustCrypto
[key derivation functions]: https://en.wikipedia.org/wiki/Key_derivation_function