https://github.com/RustCrypto/KDFs
Collection of Key Derivation Functions written in pure Rust
https://github.com/RustCrypto/KDFs
Last synced: 15 days ago
JSON representation
Collection of Key Derivation Functions written in pure Rust
- Host: GitHub
- URL: https://github.com/RustCrypto/KDFs
- Owner: RustCrypto
- Created: 2015-01-03T00:01:55.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-10-14T12:24:11.000Z (6 months ago)
- Last Synced: 2024-10-29T12:20:49.649Z (6 months ago)
- Language: Rust
- Homepage:
- Size: 325 KB
- Stars: 67
- Watchers: 8
- Forks: 28
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-cryptography-rust - KDFs
README
# RustCrypto: Key Derivation Functions
[![Project Chat][chat-image]][chat-link] [![dependency status][deps-image]][deps-link] ![Apache2/MIT licensed][license-image]
Collection of [Key Derivation Functions][KDF] (KDF) written in pure Rust.
## Supported Algorithms
| Algorithm | Crate | Crates.io | Documentation | MSRV |
|--------------|-------|:---------:|:-------------:|:----:|
| [ANSI-X9.63-KDF] | [`ansi-x963-kdf`] | [](https://crates.io/crates/ansi-x963-kdf) | [](https://docs.rs/ansi-x963-kdf) | ![MSRV 1.81][msrv-1.81] |
| [bake-kdf] | [`bake-kdf`] | [](https://crates.io/crates/bake-kdf) | [](https://docs.rs/bake-kdf) | ![MSRV 1.81][msrv-1.81] |
| [Concat-KDF] | [`concat-kdf`] | [](https://crates.io/crates/concat-kdf) | [](https://docs.rs/concat-kdf) | ![MSRV 1.81][msrv-1.81] |
| [HKDF] | [`hkdf`] | [](https://crates.io/crates/hkdf) | [](https://docs.rs/hkdf) | ![MSRV 1.81][msrv-1.81] |
| [KBKDF] | [`kbkdf`] | [](https://crates.io/crates/kbkdf) | [](https://docs.rs/kbkdf) | ![MSRV 1.81][msrv-1.81] |*NOTE: for password-based KDFs (e.g. Argon2, PBKDF2, scrypt), please see [RustCrypto/password-hashes]*
### Minimum Supported Rust Version (MSRV) Policy
MSRV bumps are considered breaking changes and will be performed only with minor version bump.
## License
All crates licensed under either of
* [Apache License, Version 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* [MIT license](http://opensource.org/licenses/MIT)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.
[//]: # (badges)
[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg
[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260043-KDFs
[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg
[deps-image]: https://deps.rs/repo/github/RustCrypto/KDFs/status.svg
[deps-link]: https://deps.rs/repo/github/RustCrypto/KDFs
[msrv-1.81]: https://img.shields.io/badge/rustc-1.81+-blue.svg[//]: # (crates)
[`ansi-x963-kdf`]: ./ansi-x963-kdf
[`bake-kdf`]: ./bake-kdf
[`concat-kdf`]: ./concat-kdf
[`hkdf`]: ./hkdf
[`kbkdf`]: ./kbkdf[//]: # (algorithms)
[KDF]: https://en.wikipedia.org/wiki/Key_derivation_function
[HKDF]: https://en.wikipedia.org/wiki/HKDF
[ANSI-X9.63-KDF]: https://www.secg.org/sec1-v2.pdf
[bake-kdf]: https://apmi.bsu.by/assets/files/std/bake-spec19.pdf
[Concat-KDF]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-56ar.pdf
[KBKDF]: https://csrc.nist.gov/projects/cryptographic-algorithm-validation-program/key-derivation
[RustCrypto/password-hashes]: https://github.com/RustCrypto/password-hashes