Generating a mnemonic seed without using a wallet
cemehbl4

@cemehbl4

Generating a mnemonic seed without using a wallet
19.02.2023 22:23
Post earned 0.00 UFO

Initially, the idea was to generate a seed (and wallet address) without any involvement of the computer at all. But it turned out that this would take a lot of time, about 20 hours:) So I had to simplify the task.

So, we need:

Flip a coin 256 times and write the result (0 - heads, 1 - tails or vice versa)


1001000101010011101011111000101011101111011110100001110001001010
1001000010010110100111001100010010011101000000100001101100010100
1011111101100101101101111110000111110000010111111000111001000010
0010011100001100111000111011100101100110110000011101100101101111

Write the result, separating every 11 bits, like this:


10010001010    10011101011     11100010101     11011110111       10100001110
00100101010    01000010010   11010011100     11000100100   11101000000
10000110110    00101001011    11110110010      11011011111       10000111110
00001011111     10001110010    00010001001   11000011001     11000111011
10010110011     01100000111    01100101101     111

Do not pay attention to the "tail" of 3 bits yet.

Convert binary values to decimal values using a calculator in offline system, or using knowledge of computer science)


1162    1259   1813   1783   1294
298     530     1692  1572   1856
1078    331     1970  1759   1086
95        1138    137    1561   1595
1203    775     813

Now take a list of 2048 words and find them by number, counting starts from zero, so for the number 1162 we are looking for the word number 1163.


mule      output     tired          ten           peace
census  drastic    squeeze   setup       trend
man       city          wagon      swim        march
armor    mixture   bachelor  segment  shuffle
nose      genius    grant

It remains to determine the last 24 word. It is calculated using SHA-256 algorithm - this makes the calculation manually very difficult.

Here's shows a manual calculation. The funny thing is that the video shows only one iteration, but needs 64 iterations. It took him 16 minutes to do just one.

Take as input the whole number (256 bits) obtained at the beginning. This is done in the console.


echo 1001000101010011101011111000101011101111011110100001110001001010\
1001000010010110100111001100010010011101000000100001101100010100\
1011111101100101101101111110000111110000010111111000111001000010\
0010011100001100111000111011100101100110110000011101100101101111 | shasum -a 256 -0

Result: c716ada6e8ebd952598bb5622ccbd119620a9ad0ccbcf29ad55077a38603d61b

From this line we are interested in the first two characters: c7

Convert this number from hexadecimal to binary: 11000111, and add a 3-bit "tail" to the beginning of this number: 11111000111

Convert it to decimal system: 1991

Last word: wedding

When importing a seed into the wallet, do not forget to add a passphrase for greater security.

May Bitcoin be with you, my friends)

Post earned 0.00 UFO

Post earned 0.00 UFO

Комментарии

Comments: