#crypto #hkdf

hkdf

HMAC-based Extract-and-Expand Key Derivation Function (HKDF)

15 releases (breaking)

0.11.0 Apr 29, 2021
0.10.0 Oct 26, 2020
0.9.0 Jun 22, 2020
0.8.0 Jul 26, 2019
0.1.0 Jan 3, 2015

#241 in Cryptography

Download history 49253/week @ 2021-04-10 46885/week @ 2021-04-17 47537/week @ 2021-04-24 46290/week @ 2021-05-01 53368/week @ 2021-05-08 50322/week @ 2021-05-15 45239/week @ 2021-05-22 43351/week @ 2021-05-29 45288/week @ 2021-06-05 45194/week @ 2021-06-12 43574/week @ 2021-06-19 43710/week @ 2021-06-26 48706/week @ 2021-07-03 51686/week @ 2021-07-10 51846/week @ 2021-07-17 55278/week @ 2021-07-24

207,011 downloads per month
Used in 170 crates (59 directly)

MIT/Apache

175KB
120 lines

RustCrypto: HKDF

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

HMAC-based Extract-and-Expand Key Derivation Function (HKDF) for Rust.

Uses the Digest trait which specifies an interface common to digest functions, such as SHA-1, SHA-256, etc.

Installation

From crates.io:

[dependencies]
hkdf = "0.7"

Usage

See the example examples/main.rs or run it with cargo run --example main

Authors

Vlad Filippov Brian Warner
Vlad Filippov Brian Warner

Dependencies

~305KB