Decoding a BIP39 Phrase Back Into Entropy Bits
Recover entropy from BIP39 word indices, split off the checksum, and verify it with SHA-256 using a reference test vector.
PDF document · Published · Updated
Open the PDF (5 pages, 151 KB)
Contents
- Turn each word into exactly 11 bits
- Separate entropy from checksum
- Recompute SHA-256 and check the result
- FAQ
- Sources
- Sample sequences of BIP39 words
- Reading a BIP39 phrase
- See also
- Keywords:
- BIP39 entropy · seed phrase decoding · mnemonic checksum · 11-bit word indices · SHA-256 verification
Guides on the same subject
- BIP85: Derive Many Seed Phrases From One Seed
How BIP85 derives independent child seed phrases, passwords and keys from one master seed: the path scheme, a verified test vector, wallet support and risks.
- Seed Phrase Examples: 12, 18 and 24 BIP39 Mnemonic Phrases
Real BIP39 seed phrase examples for 12, 18 and 24 words from the official test vectors, with their entropy, checksum bits and why random words fail.
- Bitcoin Private Key Format: WIF, Base58 and Hex Explained
A Bitcoin private key is a 256-bit number, usually shown in WIF: Base58 with a version byte, compression flag and checksum. Encoding steps and test vectors.
One of the documents in the Seed Phrase PDF Archive, listed on archive page 5.