[][src]Function bip39::bip39_to_mini_secret

pub fn bip39_to_mini_secret(phrase: &str, password: &str) -> PyResult<Vec<u8>>

Create a mini-secret from a BIP39 phrase

Arguments

  • phrase - Mnemonic phrase
  • password - Use empty string for no password

Returns

Returns the 32-bytes mini-secret via entropy