Reversible: Converts mnemonic string to raw entropy in form of byte array.
const mnem = 'legal winner thank year wave sausage worth useful legal winner thank yellow';mnemonicToEntropy(mnem, wordlist)// Producesnew Uint8Array([ 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f, 0x7f])
12-24 words
imported wordlist for specific language
Generated using TypeDoc
Reversible: Converts mnemonic string to raw entropy in form of byte array.
Example