D
D
deex2018-02-06 00:59:45
Passwords
deex, 2018-02-06 00:59:45

How is a mnemonic phrase created, for example in a bitcoin wallet?

Good afternoon.
To access bitcoin funds, it is enough to know its private key, like sd7f6ds7fs6df7sd6f7ds6fds7f5dsf6sd5fd.
But wallets like electrum also offer to remember the seed - a set of words.
For example: window glass sun water beach sky browser
These words, as I understand it, should be enough to restore access to bitcoin through any suitable wallet application.
What I can't figure out is how does this all work? How can the conditional "sd7f6ds7fs6df7sd6f7ds6fds7f5dsf6sd5fd" be encoded in these words?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
bkosun, 2018-02-06
@bkosun

The wallet software uses a whole set of words taken from a dictionary, with each word assigned to a specific number. The mnemonic phrase can be converted to a number which is used as a seed that generates all key pairs for that wallet .

https://ru.bitcoinwiki.org/wiki/%D0%9C%D0%BD%D0%B5...
The mnemonic phrase is used to calculate the sid to then generate keys, here is a very simplified example:
Mnemonic phrase: window glass browser
Numbers: window = 1, glass =2, browser =5
LED = 1 + 2 + 5 = 8;
echo sha1(8); // fe5dbbcea5ce7e2988b8c69bcfdfde8904aabc1f

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question