[][src]Function bip39::bip39_generate

pub fn bip39_generate(words: u32) -> PyResult<String>

Generates a new mnemonic

Arguments

  • words - The amount of words to generate, valid values are 12, 15, 18, 21 and 24

Returns

A string containing the mnemonic words.