fromEntropy method

Mnemonic fromEntropy(
  1. List<int> entropyBytes
)

Generate a BIP39 mnemonic phrase from the provided entropy bytes.

Parameters:

  • entropyBytes: The entropy bytes to encode into a mnemonic phrase.

Returns: A BIP39 mnemonic phrase representing the given entropy.

Implementation

Mnemonic fromEntropy(List<int> entropyBytes) {
  return _mnemonicEncoder.encode(entropyBytes);
}