hkdf 0.5.0

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

rust-hkdf creates.io Documentation

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.5"

Usage

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

Changelog

  • 0.5.0 - removed deprecated interface, fixed omitting HKDF salt.
  • 0.4.0 - RFC-inspired interface, Reduce heap allocation, remove unnecessary mut, derive Clone. deps: hex-0.3, benchmarks.
  • 0.3.0 - update dependencies: digest-0.7, hmac-0.5
  • 0.2.0 - support for rustc 1.20.0
  • 0.1.1 - fixes to support rustc 1.5.0
  • 0.1.0 - initial release

Authors

Vlad Filippov Brian Warner
Vlad Filippov Brian Warner