iancoleman / bip39

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

Words indexes on cards entropy dont equals #555

Open UncleSamKuia opened 2 years ago

UncleSamKuia commented 2 years ago

hello Ian, extracting 24 words of entropy by cards the site pointed out Index of the word list different from the seeds. for example: if seed shows ability, word Index says number 1 (which is actually abandon). Can you check if there are any bugs or if I did it wrong? I did it again and the same thing happened.

petjal commented 2 years ago

see https://github.com/iancoleman/bip39/issues/383

The wordlist indexes are between 0 to 2047 (in binary 00000000000 to 11111111111)

The list on github is displayed with line numbers, ie 1 to 2048. Note that 2048 is 12 bits long, ie 100000000000 whereas bip39 uses only up to 11 bits.

This is standard zero based numbering.