decode method

  1. @override
List<int> decode(
  1. String mnemonic
)
override

Decode a BIP39 mnemonic phrase to obtain the entropy bytes.

Parameters:

  • mnemonic: The BIP39 mnemonic phrase to decode.

Implementation

@override
List<int> decode(String mnemonic) {
  final mnemonicBinStr = _decodeAndVerifyBinaryStr(mnemonic);
  return _entropyBytesFromBinaryStr(mnemonicBinStr);
}