bake-kdf

Crates.iobake-kdf
lib.rsbake-kdf
version0.1.0-rc.0
created_at2024-11-05 17:45:38.522801+00
updated_at2025-11-05 18:47:13.778279+00
descriptionbake-kdf function (STB 34.101.66-2014)
homepage
repositoryhttps://github.com/RustCrypto/KDFs
max_upload_size
id1436856
size23,524
KDFs (github:rustcrypto:kdfs)

documentation

https://docs.rs/bake-kdf

README

RustCrypto: bake-kdf

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

Pure Rust implementation of the bake-kdf function.

Examples

use bake_kdf::bake_kdf;
use hex_literal::hex;
let x = [0x42; 32];
let s = [0x24; 8];
let c = 0x00;
let key = bake_kdf(&x, &s, c);

assert_eq!(key, hex!("bbd7ece0080bee33c776a140f8d807a113a119a4e4d4270f9f2018fbd5e6292e"));

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: 193

cargo fmt