1# RustCrypto: HKDF 2 3[![crate][crate-image]][crate-link] 4[![Docs][docs-image]][docs-link] 5![Apache2/MIT licensed][license-image] 6![Rust Version][rustc-image] 7[![Project Chat][chat-image]][chat-link] 8[![Build Status][build-image]][build-link] 9 10[HMAC-based Extract-and-Expand Key Derivation Function (HKDF)](https://tools.ietf.org/html/rfc5869) for [Rust](http://www.rust-lang.org/). 11 12Uses the Digest trait which specifies an interface common to digest functions, such as SHA-1, SHA-256, etc. 13 14## Installation 15 16From crates.io: 17 18```toml 19[dependencies] 20hkdf = "0.7" 21``` 22 23## Usage 24 25See the example [examples/main.rs](examples/main.rs) or run it with `cargo run --example main` 26 27## Authors 28 29[![Vlad Filippov](https://avatars3.githubusercontent.com/u/128755?s=70)](http://vf.io/) | [![Brian Warner](https://avatars3.githubusercontent.com/u/27146?v=4&s=70)](http://www.lothar.com/blog/) 30---|--- 31[Vlad Filippov](http://vf.io/) | [Brian Warner](http://www.lothar.com/blog/) 32 33[//]: # (badges) 34 35[crate-image]: https://img.shields.io/crates/v/hkdf.svg 36[crate-link]: https://crates.io/crates/hkdf 37[docs-image]: https://docs.rs/hkdf/badge.svg 38[docs-link]: https://docs.rs/hkdf/ 39[license-image]: https://img.shields.io/badge/license-Apache2.0/MIT-blue.svg 40[rustc-image]: https://img.shields.io/badge/rustc-1.41+-blue.svg 41[chat-image]: https://img.shields.io/badge/zulip-join_chat-blue.svg 42[chat-link]: https://rustcrypto.zulipchat.com/#narrow/stream/260043-KDFs 43[build-image]: https://github.com/RustCrypto/KDFs/workflows/hkdf/badge.svg?branch=master&event=push 44[build-link]: https://github.com/RustCrypto/KDFs/actions?query=workflow:hkdf 45