Exposure
What actually leaks when you use an address
The key space is closed. The leak is elsewhere, and it is structural: a Bitcoin transaction publishes a hash of the receiver’s public key and the public key itself of the sender. Everything below follows from that one asymmetry.
On this page
1. One real transaction, parsed
This is not a diagram. It is a transaction pulled from the chain and decoded field by field
(txid a490a911…41c439, a legacy spend that pays a native SegWit output):
INPUT 1 → public key 022100dac1171b72314f…
OUTPUT 1 → P2WPKH hash160 8764c872ae9f31c0463278b4d4386646cfca20da
From that public key, an elliptic-curve attacker has a well-defined problem: find the private key d such that d·G equals the point. From the hash, the attacker has a different problem: find any public key whose hash collides, then solve the same curve problem. The second problem is strictly harder, which is exactly why wallets hand out fresh addresses.
2. Five kinds of address, five exposure profiles
| Output type | What is on chain | Public key visible |
|---|---|---|
P2WPKH (bc1q…), never spent | 20-byte hash | no |
| P2WPKH, spent at least once | hash + the spend’s public key | forever |
P2PKH (1…), never spent | 20-byte hash | no |
| P2PK (2010–2012 coins) | the public key itself | from birth |
P2TR (bc1p…, Taproot) | a 32-byte x-only public key | from birth |
A Taproot output from a recent block, decoded the same way, contains a raw key:
5120 cc8768cb116a156a2f50e10a…. That is not a hash of a key; it is the key.
It is the cleanest example of why “use a new address” is not the same advice for every
address type.
3. What a quantum computer changes — and what it needs
Shor’s algorithm solves the elliptic-curve discrete logarithm in polynomial time. It needs the public key as input. This single sentence decides everything about who is exposed.
- Spent-from, P2PK or Taproot: the attacker has the public key, so only Shor stands in the way.
- Receive-only, hash hidden: the attacker must first invert a 160-bit hash. Grover’s algorithm gives a quadratic speedup, taking that from 2160 to about 280 — still enormous.
The resource estimates changed materially in March 2026. A paper by researchers at Google Quantum AI, the Ethereum Foundation and Stanford (Babbush, Zalcman, Gidney, Drake, Boneh and others) compiled Shor’s algorithm specifically for secp256k1:
| Resource | Estimate (March 2026) |
|---|---|
| Logical qubits | ≤ 1,200 (with ≤ 90M Toffoli) or ≤ 1,450 (≤ 70M Toffoli) |
| Physical qubits, superconducting, 10-3 error rate | < 500,000 |
| Wall-clock time for one key | a few minutes |
| Improvement over previous published estimates | ≈ 20× fewer physical qubits |
For scale, Google’s Willow chip has 105 physical qubits. The gap is roughly 4,800×, or about twelve doublings. Expert polling in 2025 put a cryptographically relevant machine at 28–49% probability within ten years and 51–70% within fifteen — the most optimistic reading in seven years of that survey.
The response is already scheduled: Google set 2029 for its own migration to post-quantum cryptography, Ethereum targets a post-quantum design in the same window, and Bitcoin’s BIP-360 (pay-to-merkle-root, removing the key-path spend) is still a draft.
4. Four rules that hold today
- A fresh address for every receive. Every wallet since BIP-32 does this by default; the failure mode is copy-pasting an old one.
- Never spend from storage to “test it”. That single test publishes the key that guards everything left behind.
- Empty an address completely when you rotate. Change left behind stays under the published key.
- Prefer non-Taproot outputs for cold storage until post-quantum signatures are available — not because Taproot is weak, but because it publishes a key on creation.
None of this requires trusting this site. Decode a transaction yourself with any block explorer; the input and output scripts are public.
5. Questions
“So my old address is compromised?”
Only in the quantum sense, and only if it has spent. Today, a published public key is not a practical risk. The reason to rotate is that the cost of rotating now is zero and the cost of rotating later is unknown.
“Does this make the wallet finder any more possible?”
No. Nothing on this page shortens the search described on the math page. It is a different attack on a different surface: keys you can already see, not keys you guess.
“Where can I check my own addresses?”
Any explorer. Look at whether the address has an outgoing transaction. If it does, its public key is somewhere in the chain, permanently.