generate static method
Generate mnemonic words accroding to a given entropy length.
The longer the length more words are created.
entropyLength
How many bits the entropy shall be:
128, 160, 192, 224, 256.
Default 128
Implementation
static List<String> generate({int entropyLength = 128}) {
if (!L.contains(entropyLength)) {
throw Exception("entropyLength is wrong.");
}
String mnemonic = bip39.generateMnemonic(strength: entropyLength);
return mnemonic.split(" ");
}