entropyToMnemonic

abstract fun entropyToMnemonic(entropy: ByteArray): String

Reconstructs a BIP-39 mnemonic phrase from raw entropy bytes.

This is the inverse of mnemonicToEntropy. Used by wallet storage to show the user their recovery phrase from the persisted entropy.

Return

Space-separated mnemonic phrase

Parameters

entropy

Raw entropy (16, 20, 24, 28, or 32 bytes)

Throws

if entropy size is invalid