pub fn generate_secret(passphrase: String) -> Result<Secret, SimpleError>
Expand description
Generate a new mnemonic with an optional passphrase. Provide an empty string to use no passphrase.
pub fn generate_secret(passphrase: String) -> Result<Secret, SimpleError>
Generate a new mnemonic with an optional passphrase. Provide an empty string to use no passphrase.