1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
//! 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")]
mod seed;

#[cfg(feature = "bip39")]
pub use self::seed::Seed;
pub use self::{language::Language, phrase::Phrase};