Function entropyToMnemonic

Converts entropy (a byte array) into a BIP-39 mnemonic word list.

If the entropy size is invalid or the conversion fails.

  • Parameters

    • entropy: Uint8Array

      The entropy bytes. Must be 16, 20, 24, 28, or 32 bytes in length.

    Returns string[]

    An array of mnemonic words.