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

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.