[][src]Function algorand_rs::mnemonic::from_key

pub fn from_key(key: &[u8]) -> Result<String>

Converts a 32-byte key into a 25 word mnemonic. The generated mnemonic includes a checksum. Each word in the mnemonic represents 11 bits of data, and the last 11 bits are reserved for the checksum.