iancoleman / bip39

A web tool for converting BIP39 mnemonic codes
https://iancoleman.io/bip39/
MIT License
3.41k stars 1.42k forks source link

jsbip39.js bug #579

Closed earthdiver closed 2 years ago

earthdiver commented 2 years ago

The below line extracts 12 bits instead of 11 bits.

line 95: var idx = parseInt(b.substring(i 11, (i + 1) 11), 2);