bip39

788 views
7 Discussing
Nisto39
·
--
Article
The 12th word in your secret phrase isn’t arbitrary (I tested all 2,048)This afternoon, I wrote twenty lines of Python to answer a silly question: if I keep 11 words from a recovery phrase and choose the 12th at random from the official list, how often will the wallet accept it? The BIP39 list (the standard published in 2013, used by most wallets $BTC and $SOL) contains 2,048 words. My intuition said: any word would work. After all, they’re words. Experiment result: 128 out of 2,048. One in sixteen. Why? Because the last word isn't entirely “random.” A 12-word phrase is 132 bits. 128 bits are pure randomness—the actual key. The last 4 bits are a checksum: a small fingerprint calculated from the other 128 (using the SHA-256 hash function). A checksum is like the two-digit check key at the end of a bank account number: it contains no new information; it’s used to verify that the rest was copied correctly.

The 12th word in your secret phrase isn’t arbitrary (I tested all 2,048)

This afternoon, I wrote twenty lines of Python to answer a silly question: if I keep 11 words from a recovery phrase and choose the 12th at random from the official list, how often will the wallet accept it?
The BIP39 list (the standard published in 2013, used by most wallets $BTC and $SOL ) contains 2,048 words. My intuition said: any word would work. After all, they’re words.
Experiment result: 128 out of 2,048. One in sixteen.
Why? Because the last word isn't entirely “random.” A 12-word phrase is 132 bits. 128 bits are pure randomness—the actual key. The last 4 bits are a checksum: a small fingerprint calculated from the other 128 (using the SHA-256 hash function). A checksum is like the two-digit check key at the end of a bank account number: it contains no new information; it’s used to verify that the rest was copied correctly.
Log in to explore more content
Join global crypto users on Binance Square
⚡️ Get latest and useful information about crypto.
💬 Trusted by the world’s largest crypto exchange.
👍 Discover real insights from verified creators.
Email / Phone number