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

  1. Turn each word into exactly 11 bits
  2. Separate entropy from checksum
  3. Recompute SHA-256 and check the result
  4. FAQ
  5. Sources
  6. Sample sequences of BIP39 words
  7. Reading a BIP39 phrase
  8. See also
Keywords:
BIP39 entropy · seed phrase decoding · mnemonic checksum · 11-bit word indices · SHA-256 verification
Topic:
BIP Standards: BIP39, BIP32, BIP44 and Beyond

Guides on the same subject

One of the documents in the Seed Phrase PDF Archive, listed on archive page 5.