pub fn encode(bytes: &[u8]) -> Result<Zeroizing<String>, Bip39Error>Expand description
Write entropy as a phrase, words separated by single spaces.
use rite_model::bip39;
let phrase = bip39::encode(&[0u8; 16]).unwrap();
assert!(phrase.starts_with("abandon abandon"));
assert!(phrase.ends_with("about"));ยงErrors
The length, when it is not one BIP-39 has a phrase for.