hkd32 0.7.0

HMAC-based Hierarchical Key Derivation: deterministically derive a hierarchy of symmetric keys from initial keying material through repeated applications of the Hash-based Message Authentication Code (HMAC) construction. Optionally supports storing root derivation passwords as a 24-word mnemonic phrase (i.e. BIP39).
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Support for BIP39 mnemonic phrases.
//!
//! These enable deriving `hkd32::KeyMaterial` from a 24-word BIP39 phrase.
//!
//! Adapted from the `bip39` crate.
//! Copyright © 2017-2018 Stephen Oliver with contributions by Maciej Hirsz.

mod bits;
mod language;
mod phrase;

#[cfg(feature = "bip39")]
pub(crate) mod seed;

pub use self::{language::Language, phrase::Phrase};

#[cfg(feature = "bip39")]
pub use self::seed::Seed;