everykey.exposed
EN

Learn

Can someone guess my Bitcoin private key?

No — not if a proper wallet generated it at random. Not with every computer on Earth, and not in the lifetime of the universe. Below is the arithmetic, including the parts that popular explanations usually skip, and the few cases in which the answer really is “yes”.

How many keys are there?

A Bitcoin private key is simply a number between 1 and just under 2256, roughly 1.16·1077. This site lists every one of them, 100 per page, which is why the catalog has 1.16·1075 pages. For scale: the observable universe is estimated to contain around 1080 atoms.

What does a thief actually have to hit?

Guessing your key is not even necessary. Coins sit on an address, and an address is a 160-bit fingerprint of the key. Any key whose fingerprint matches would do, so the real target is 2160, about 1.5·1048 possibilities. That is far fewer than 1077 — and still hopeless:

And if any address with coins will do?

A thief does not care whose coins they take. Suppose as many as 100 million addresses held bitcoins (there are fewer). Each guess then has a 100-million-times better chance, and the imaginary machine would need about 460 million years.

That machine does not exist. The largest computing effort on the planet, the whole Bitcoin mining network, performs around 1021 simple hashes per second, and checking a key is much more work than one hash. Even at that speed the search would take about 460 billion years, over thirty times the age of the universe.

Is there anything smarter than guessing?

Yes, and honest explanations should say so. Once you spend from an address, its public key becomes visible on the blockchain (for some address types it is visible from the start). From a public key, the best known method (Pollard’s rho algorithm) needs about 2128, or 3.4·1038, steps. This is what “128-bit security” means. Even at the speed of the entire mining network, that is around 11 billion years for a single key.

A large quantum computer running Shor’s algorithm could do this quickly. Nothing close to one exists today; it is a known long-term problem that Bitcoin developers are discussing.

When can a key be guessed?

Only when it was not chosen at random. Almost every real theft of this kind comes down to one of these:

What to do

Your key is in this catalog, like every other key. That is exactly why it is safe: finding it would mean searching a space so large that the catalog itself is the best illustration of how impossible that is.

Start at page 1All articles