slip-0039: first word property

parent 5cd018cd
...@@ -66,6 +66,8 @@ This structure is then converted into a mnemonic passphrase by splitting it up b ...@@ -66,6 +66,8 @@ This structure is then converted into a mnemonic passphrase by splitting it up b
| 128 bits | 144 bits | 170 bits = 17 words | | 128 bits | 144 bits | 170 bits = 17 words |
| 256 bits | 272 bits | 298 bits = 30 words | | 256 bits | 272 bits | 298 bits = 30 words |
The selection of 5-bit sizes for index/threshold values and 10-bit for wordlist index has a nice property that the first word of the mnemonic encodes exactly these two values. And, vice versa, only these two values determine the first word.
## Checksum ## Checksum
For the checksums we use the leftmost 16 bits of a SHA-256 hash digest of the relevant payload. For the checksums we use the leftmost 16 bits of a SHA-256 hash digest of the relevant payload.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment