Function nkeys::decode_seed

source ·
pub fn decode_seed(source: &str) -> Result<(u8, [u8; 32]), Error>
Expand description

Attempts to decode the provided base32 encoded string into a valid prefix byte and the private key seed bytes. NOTE: This is considered an advanced use case, it’s generally recommended to stick with KeyPair::from_seed instead.