What Is Entropy in a Crypto Wallet — and Why 40 Bits Is a Catastrophe
Every crypto wallet's security rests on one number being genuinely unpredictable. Here is what entropy means in practice, why the difference between 40 and 128 bits is the difference between safe and drained, and how to check your own setup.
Almost every explanation of crypto security eventually arrives at the same instruction: write down your seed phrase and keep it safe. What gets explained far less often is where those words come from, and why the process that generates them is the true foundation of everything else.
The July 2026 Coldcard firmware incident made this abstract topic suddenly concrete: a flaw in seed generation left wallets guessable while every other protection worked perfectly. Understanding entropy is how you understand why that happened.
What entropy means here
Entropy, in this context, is a measurement of unpredictability. It is expressed in bits, and each additional bit doubles the number of possible outcomes.
- 1 bit = 2 possibilities (a coin flip)
- 8 bits = 256 possibilities
- 40 bits = roughly 1.1 trillion possibilities
- 128 bits = roughly 340 undecillion (a 39-digit number)
- 256 bits = the square of that, again
A 12-word BIP-39 seed phrase encodes 128 bits of entropy. A 24-word phrase encodes 256 bits. Those words are not the secret in themselves — they are a human-readable encoding of the underlying random number.
Why 128 bits is considered safe forever
At 128 bits, the number of possible seeds exceeds any quantity that can be searched with physical hardware. Estimates of the energy required to merely count to 2^128, let alone test each value, exceed the total output of the sun over enormous timescales. This is not a claim about current computing power being insufficient; it is a claim about thermodynamics.
This is why "someone will guess my seed phrase" is not a rational worry for a properly generated wallet. The security margin is not large. It is absurd.
Why 40 bits is a catastrophe
Drop to 40 bits and the entire picture inverts. A trillion candidates is a workload that ordinary hardware can chew through. Generate each candidate seed, derive the first several addresses from it, and check those addresses against the public blockchain. The blockchain is public precisely so that anyone can verify balances — which means an attacker gets free, instant confirmation of which guesses were correct.
This is the crucial asymmetry. In most systems, a weak secret still requires the attacker to interact with a server that can rate-limit or lock them out. In Bitcoin there is nothing to rate-limit. The entire search happens offline, and the verification data is published for everyone.
At 72 bits — the figure Coinkite gave for its newer models under the affected firmware — brute force becomes expensive rather than trivial. That is a meaningful improvement, but it is still far below the intended margin, and "expensive" is a moving target as hardware improves.
Where entropy comes from
Good hardware wallets use a true random number generator built into the microcontroller, which derives randomness from physical processes such as electrical noise. Physical randomness is unpredictable in principle, not merely hard to compute.
The failure mode is a device falling back to a pseudorandom number generator — an algorithm that produces random-looking output from a starting value. If that starting value is derived from non-secret data such as a chip serial number and clock state, the entire output stream becomes reproducible by anyone who can estimate those inputs. That is precisely the failure that occurred in the Coldcard firmware.
How to strengthen your own entropy
You do not have to rely entirely on your device's generator:
- Dice rolls. Several hardware wallets let you mix in entropy from physical dice. Around 50 rolls of a standard die supplies well over 128 bits. Because this randomness comes from outside the device, it protects you even if the device's internal generator is broken.
- A BIP-39 passphrase. A strong passphrase is combined with the seed to derive keys. Even a fully compromised seed produces a different, unreachable wallet when a strong passphrase is applied. Note this is not the same as your device PIN.
- Multisig with mixed vendors. If keys come from different manufacturers, one vendor's generation flaw cannot compromise the spending threshold. See our multisig guide.
Things that do not help
A few common misconceptions worth clearing up:
- Moving a weak seed to a different wallet does nothing. The seed is the secret. Importing it into a different brand of device changes nothing about its guessability.
- Updating firmware does not repair an existing seed. It only affects seeds generated afterward.
- A device PIN is not a passphrase. The PIN protects physical access to the device. It plays no part in deriving keys and offers no protection against an offline attack on the seed.
- Choosing your own words is worse, not better. Human-selected words carry far less entropy than people assume and are a well-documented way to lose funds.
The bottom line
Every other security measure in crypto — offline storage, secure elements, tamper resistance, careful backups — assumes the underlying secret was generated unpredictably. When that assumption breaks, none of the rest matters.
For most users the practical takeaway is short: generate seeds on reputable, up-to-date hardware; add your own dice entropy when the option exists; use a passphrase for anything substantial; and pay attention when your manufacturer publishes a security advisory. See our seed phrase guide for the storage side of the equation.