2 releases

0.0.1 Feb 13, 2025
0.0.0 Nov 5, 2024

#4 in #bake

Download history 3/week @ 2024-11-20 5/week @ 2025-02-05 125/week @ 2025-02-12 10/week @ 2025-02-19 17/week @ 2025-02-26 3/week @ 2025-03-05

156 downloads per month

MIT/Apache

10KB
76 lines

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"));

Dependencies

~640KB
~17K SLoC