AleZ on Nostr: 💊 Entropy to Mnemonic add a checksum to our entropy to help detect errors (making ...
💊 Entropy to Mnemonic
add a checksum to our entropy to help detect errors (making the final sentence more user-friendly). This checksum is created by hashing the entropy through SHA256, which gives us a unique fingerprint for our entropy. We then take 1 bit of that hash for every 32 bits of entropy, and add it to the end of our entropy.
Entropy + CheckSum
Next we split this in to groups of 11 bits, convert these to decimal numbers, and use those numbers to select the corresponding words.
(BIP39 Wordlist The words in a mnemonic sentence come from a fixed list of 2048 words - specified by BIP39 -. The first 4 letters of each word is unique in the list)
Published at
2023-03-09 07:49:09Event JSON
{
"id": "f53a593c990b6d572923aa05be26c26900c84271159c9fac1925988b4539c4d0",
"pubkey": "16379b0f254b35517eefbd0bde3d628d938301c8f9ccaf1265969a97db4fc118",
"created_at": 1678348149,
"kind": 1,
"tags": [
[
"e",
"b6485feec348df7ce9980c732c311fce091e2a29233f340c318c8bead1faa470",
"",
"root"
],
[
"p",
"16379b0f254b35517eefbd0bde3d628d938301c8f9ccaf1265969a97db4fc118"
]
],
"content": "💊 Entropy to Mnemonic\nadd a checksum to our entropy to help detect errors (making the final sentence more user-friendly). This checksum is created by hashing the entropy through SHA256, which gives us a unique fingerprint for our entropy. We then take 1 bit of that hash for every 32 bits of entropy, and add it to the end of our entropy.\nEntropy + CheckSum\nNext we split this in to groups of 11 bits, convert these to decimal numbers, and use those numbers to select the corresponding words.\n(BIP39 Wordlist The words in a mnemonic sentence come from a fixed list of 2048 words - specified by BIP39 -. The first 4 letters of each word is unique in the list)\n",
"sig": "1e7c2e172ebcd208953ce521029c6bed3fd27113415449838edcf3a51b41f64ff5036544223d12195b8fb418210cfaa4ace59d35f7983602e9eead0b509e91dd"
}