Not your Bitcoin basics← Back to YourBitcoinBasics.com

From Chapter 9: “It lets you add your own randomness (NotYourBitcoinBasics.com/dice explains how and why).”

Rolling your own randomness

In simple words

Your seed words are only as safe as the random number behind them. When you roll casino-grade dice and enter the rolls on the device, you don’t have to trust the device’s generator alone.

Why it matters

Your seed words are only as safe as the random number behind them (see /seed). A device makes that number with its own random number generator. You cannot see inside it. If the generator has a bug, or if someone tampered with the device, the number might be guessable, and so might your words.

This is not only a theory. In 2026, one hardware wallet maker disclosed that a firmware update it shipped in 2021 had weakened how its devices generated seed words, and thieves emptied wallets made that way. Chapter 7 tells the story. People who had made their seed with at least 50 of their own dice rolls were not affected. Adding randomness you make yourself is one way to stop trusting a single machine with your entire backup.

How much randomness you need

A fair six-sided die gives about 2.6 bits of randomness per roll.

You wantBits neededRolls of a six-sided die
12 words12850
24 words256100

How it usually works

  1. Look in your device’s menu for an option such as “dice rolls” or “add entropy.” Read the maker’s instructions first.
  2. Roll a real die, in a cup, in a private room. Casino dice are the most even.
  3. Enter each result on the device itself, by hand, as you go.
  4. The device turns your rolls into the random number and shows you the words.

Some devices mix your rolls with their own randomness. Some use your rolls alone. The manual should say which. Mixing is the safer design: if either source is good, the result is good.

Rules for dice

Do you need to do this?

For a small amount you are learning with, no. A reputable device that passes the book’s seven tests is enough. Dice are for the amount you would cry over, or for anyone who prefers not to trust one company’s random number generator.

Words on this page

Hardware wallet
A small device built to keep the key offline and sign for you.
Wallet
The app or device you use to hold and send bitcoin.

Sources

  1. BIP 39, entropy lengths, github.com/bitcoin/bips/blob/master/bip-0039.mediawiki.
  2. Entropy per die roll: log2(6) ≈ 2.585 bits; 6^50 is about 2^129, and 6^100 is about 2^258.
  3. The 2026 hardware wallet seed flaw: see the Chapter 7 sources at YourBitcoinBasics.com/sources/ch7.