iancoleman / bip39

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

Stored entropy #426

Open Grid2020 opened 4 years ago

Grid2020 commented 4 years ago

Not a coding issue per se, but not sure where else to ask about a concern with the tool.

Will the algorithm for converting entropy into the BIP39 Mnemonic always remain consistent with each new future version of this tool?

If users store a random 32 character hexadecimal number, will this tool always consistently generate the same BIP39 Mnemonic 12 word pass phrase no matter what version it this tool is updated to in the future? Or is it possible that a future version of this tool could end up returning a different 12 word passphrase from a 32 character hexadecimal number?

Storing the randomly generate 32 character hexadecimal number is quite useful in that it is the shortest, most condensed form of information which when entered into this tool as a seed can generate the passphrase, wallet keys etc.

This is less useful however if future versions of the tool don't generate the same results as previous.

Thanks in advance for your consideration and comments on this.

iancoleman commented 4 years ago

Firstly, do not store entropy. That's the whole point of mnemonics in the first place.

In practice it's extremely likely that entropy will remain consistent since it's the same as entering a very large number (not much can change about that).

In reality