Quantum computers and Bitcoin

Quantum computers and Bitcoin is the question of whether future quantum machines could break Bitcoin's cryptography: derive a private key from a public one and spend other people's coins. No such machines exist yet, but the move to quantum-safe signatures is being prepared in advance.

What the threat is

Bitcoin relies on two kinds of cryptography. Transaction signatures use elliptic curves: a public key is easy to derive from a private key, while the reverse is practically impossible for a classical computer. A large and reliable enough quantum computer could solve it with Shor's algorithm and forge the owner's signature. The second kind is the SHA-256 hash function behind mining and addresses. The only known quantum attack on it, Grover's algorithm, speeds up brute force far less, so hashes and mining are considered much more resilient.

Which coins are more exposed

While coins sit on an address that has never been spent from, the blockchain shows only a hash of the public key, not the key itself. The key is revealed at the first spend. Most exposed are coins whose public key is already known: the oldest outputs from early Bitcoin, where the key was written directly, addresses that were spent from and then received coins again, and some modern address types. By various estimates this is a sizable share of all bitcoin, including coins that have not moved for years and may be lost. That is why the advice not to reuse addresses is useful already.

How close it is

Breaking a Bitcoin key would require an error-corrected quantum computer with, by researchers' estimates, a very large number of reliable qubits. Today's machines are orders of magnitude smaller and make errors far too often. Nobody knows when the necessary power will appear: forecasts range from about a decade to a much more distant future. Every so often there are loud claims of a breakthrough that later fail to hold up. So it is worth treating such news calmly and checking what exactly has been demonstrated.

How the industry prepares

Cryptographers have already designed post-quantum signature schemes, and some have been standardized in the United States. For Bitcoin, there are proposals to add new address types using such signatures and gradually move coins to them. That would take a soft fork, community agreement and time, and the new signatures are larger, which would put more load on blocks. Ethereum and other networks are discussing their own migration plans. A separate, contested question is what to do with coins whose owners do not move them in time. This is not investment advice.

Example

Hypothetical example: one person received 1 BTC on a fresh address and has never spent from it. The blockchain shows only a hash of their public key, so even a powerful quantum computer would have to wait for the owner to reveal the key. Another user has received and sent coins from the same address many times: their public key was published long ago, and if a strong enough machine appeared, that address would be at risk sooner.

Related terms

BitcoinPrivate KeyCryptographyPublic KeyForkMining

On the site

CryptocurrenciesHow to buy cryptoBitcoin Price PredictionCrypto market Monopoly

This article was written by AI. Check specific rates, taxes and broker terms with primary sources.

↑ Top