Outline5 min

Why a phrase cannot be guessed

A 12-word phrase is one of 2^128 possibilities. Theft of a copy is the attack that works. Brute force is not.

This lesson is an outline. The notes below are accurate, and the full article is still being written.

There are 2 to the 128 valid 12-word phrases, and 2 to the 256 valid 24-word phrases. Counting every sequence of list words, including the ones that fail the checksum, only multiplies the 12-word figure by 16. None of these numbers is a search.

At a trillion guesses a second, which is not a machine you can rent as a single counter, trying the 12-word space still takes on the order of 10^19 years. The search-space tool shows the arithmetic and lets you change the rate. Making the rate a million times larger does not turn the problem into a weekend.

The attacks that do work

Someone photographs the card. A note syncs to a cloud account. A website asks for the words and you type them. Malware reads a hot wallet. A person in the room watches you read the phrase back into a device. A “support” account in a chat asks you to confirm the words. These are copies, not guesses. The checksum does not notice a perfect copy.

A phrase generated badly is a different problem from a phrase guessed from the outside. If the wallet’s random number was weak, or the phrase was chosen by a human from favorite words, the space is smaller than 2 to the 128. Use the generator in a reviewed wallet. Do not invent the words. Dice, done carefully and offline, are the topic of the dice lesson.

What the full lesson will add

  • Why “quantum” does not, by itself, turn a 12-word BIP39 phrase into a guessable one. The interesting quantum effect on Bitcoin is on signatures, and it is a separate and slower conversation.
  • Why publishing an address does not let a stranger walk backward to the phrase.
  • How to read a claim that someone “cracked” a phrase: almost always a leaked copy, a weak brainwallet, or a puzzle that was designed to be found.

If you remember one distinction, remember copy versus search. Protect the copy.