Posts

Will Technology break bitcoin: Part two examing sha-256, cryptographic signatures and wallet security in the age of AI.

4 comments·0 reblogs
shortsegments
78
·
0 views
·
6 min read

INtroduction:

  • This is an article looking at the math and science to clarify for you that both bitcoin and bitcoin wallets are safe right now, as there are no quantum computers. While it is a technical summary, the best I can write and stated simply for ease of understanding, there are more complicated explainations out there on the internet.
    .

Picture Description: Google CEO Sundar Pichai stands beside Google's Sycamore quantum computer in Santa Barbara, California, in October 2019

Image from thread

Source

  • Plus to clarify that old bitcoin wallets are less secure against quantum computers then new bitcoin wallets.

  • And that there are already plans for post-quantum coimputing security.

  • The security behind bitcoin wallets of today is equivalent to haveing the same number of possible passwirds as the atoms in the known universe.

  • A very, very large number, which would take even the quantum computers of the future one billion years to crack or unenycrypt.

  • So the newer wallets are safe in to future.

  • Now security behind old bitcoin wallets and minig is less secure, althouh still monumentally seure from todays computers, quantum computers could use math alcorhythms which reduce one billion tries to 31,000 tries and so modern computers could crack or figure out those passwords.

  • But bitcoin developers are already figuring out the math and new bitcoin wallets are already safe from AI and quantum computers.

  • The original OG Bitcoiner wallets that contain bitcoin but appear to have not moved for tem years or more are at risk, but strategies to combat are being developed.

  • Understanding how Bitcoin stays safe—and how future super-computers might challenge that safety—requires looking at the math under the hood. Recently, business leader Chamath Palihapitiya and Bitcoin advocate Jack Mallers engaged in a public debate over this exact topic.

  • Here is a breakdown of the debate, the math behind Bitcoin's security, and how quantum computers impact old versus new Bitcoin wallets.

Key Terms Defined

  • Cryptography: The science of using secret math codes to protect information so only the rightful owner can access or move it.
  • Hash Function (SHA-256): A digital one-way blender. You feed it any size of digital data, and it spits out a unique 64-character code (a fingerprint). You cannot run the blender backward to find the original input.
  • Public Key & Private Key: A key pair created using complex math. Your Public Key is like your home address (everyone can see it to send you money). Your Private Key is like your house key (you keep it secret to unlock and spend your money).
  • Digital Signature (secp256k1 / Elliptic Curve Cryptography): A mathematical proof created with your private key that shows everyone you authorized a transaction without revealing your secret key.
  • Quantum Computer: A next-generation computer that uses the laws of quantum physics to solve specific complex math problems millions of times faster than today's supercomputers.
  • Qubit (Quantum Bit): The basic unit of memory in a quantum computer (similar to a regular bit in a standard laptop).

1. The Core Security Pillars of Bitcoin

  • Bitcoin relies on two distinct types of math to operate securely:

A. SHA-256 (Hashing)

SHA-256 acts as the backbone for Bitcoin Mining and Difficulty adjustment.
Miners compete to solve SHA-256 math puzzles to earn new Bitcoin and process transactions.
The Bitcoin network automatically adjusts its Difficulty every two weeks so that a new block of transactions is found roughly every 10 minutes, regardless of how many computers join the network.

B. Elliptic Curve Cryptography (secp256k1 Signatures) While SHA-256 handles mining, Elliptic Curve Cryptography (ECC) handles ownership.

Your private key generates a public key using an elliptic curve equation.
That public key then generates your wallet address.
Whenever you send Bitcoin, your wallet creates a digital signature using your private key.

2. Chamath’s Claim vs. Jack Mallers’ Rebuttal

Chamath Palihapitiya's Argument

  • Chamath argued that recursively self-improving Artificial Intelligence (AI) models could eventually target SHA-256 and crack the wallet holding Satoshi Nakamoto's estimated 1.1 million Bitcoin.
  • He added that upgrading Bitcoin to quantum-resistant math is "basically impossible" because the Bitcoin community is too divided to agree on major updates.

Jack Mallers' Rebuttal

  • Jack Mallers correctly pointed out a fundamental technical error in Chamath's argument:
    Bitcoin wallet security does not rely on SHA-256; it relies on Elliptic Curve Cryptography (secp256k1).
  • Breaking SHA-256 would affect mining, but it does not allow an attacker to derive a private key from a wallet.
  • Breaking Elliptic Curve Math is what actually allows an attacker to steal wallet funds.

3. How Quantum Algorithms Target Encryption

  • Quantum computers threaten cryptography using two distinct algorithms developed nearly 30 years ago:

                     ┌─────────────────────────────────────────┐ 
                         │          QUANTUM THREAT MODELS          │ 
                         └────────────────────┬────────────────────┘ 
                                              │ 
               ┌──────────────────────────────┴──────────────────────────────┐ 
               ▼                                                             ▼ 
    

┌─────────────────────────────────┐ ┌─────────────────────────────────┐
│ GROVER'S ALGORITHM │ │ SHOR'S ALGORITHM │
│ (Target: Hash) │ │ (Target: Signatures) │
├─────────────────────────────────┤ ├─────────────────────────────────┤
│ • Speedup: Square-Root │ │ • Speedup: Exponential │
│ • Impact: SHA-256 │ │ • Impact: Elliptic Curve Math │
│ • Threat Level: Low │ │ • Threat Level: Critical │
│ (256-bit drops to 128-bit) │ │ (Exposes Private Keys) │
└─────────────────────────────────┘ └─────────────────────────────────┘

Grover's Algorithm (1996) vs. SHA-256

  • Grover's algorithm speeds up searches through unsorted data.
  • However, it only provides a square-root speedup:If a task takes $1,000,000,000$ (one billion) tries on a normal computer, Grover's algorithm cuts that down to $\sqrt{1,000,000,000} \approx 31,623$ tries.
  • Against SHA-256, Grover's algorithm reduces the security strength from 256-bit down to roughly 128-bit.
  • A 128-bit security level is still so vast that even a quantum computer would take billions of years to crack it.
  • Thus, SHA-256 remains largely safe.

Shor's Algorithm (1994) vs. Wallet Signatures

  • Shor's algorithm provides an exponential speedup against the discrete logarithm problems used in Elliptic Curve Cryptography.
  • This means a quantum computer running Shor's algorithm can reverse elliptic curve math and derive a private key directly from a public key.

4. Why Old Wallets Are At Risk while Newer Wallets Are Safe

  • The vulnerability to Shor's algorithm depends on whether your Public Key is visible on the public blockchain ledger.

┌───────────────────────────────────────────────────────────────────────────────────────────┐
│ BITCOIN ADDRESS VULNERABILITY │
├─────────────────────────────────────────────┬─────────────────────────────────────────────┤
│ ORIGINAL / OLD WALLETS │ MODERN WALLETS │
│ (Pay-to-Public-Key) │ (Pay-to-Public-Key-Hash) │
├─────────────────────────────────────────────┼─────────────────────────────────────────────┤
│ • Public Key is DIRECTLY visible on-chain. │ • Public Key is HIDDEN behind a double-hash │
│ • Satoshi-era coins & reused addresses. │ (SHA-256 + RIPEMD-160). │
│ • Quantum computers running Shor's │ • Quantum computers CANNOT attack what │
│ algorithm can derive the private key. │ they cannot see. │
│ • STATUS: VULNERABLE │ • STATUS: SAFE │
└─────────────────────────────────────────────┴─────────────────────────────────────────────┘

Original "Satoshi-Era" Wallets (Pay-to-Public-Key / P2PK)

  • In the earliest days of Bitcoin (2009–2010), transactions sent money directly to an unhashed Public Key.
  • The Vulnerability: Because Satoshi Nakamoto's wallets and early reused addresses published their full public keys onto the public blockchain, a quantum computer can apply Shor's algorithm to calculate the corresponding private keys and steal the funds.

Newer Bitcoin Wallets (Pay-to-Public-Key-Hash / P2PKH & SegWit)

  • Modern Bitcoin wallets do not display your public key on the open ledger.
  • Instead, your public key is wrapped inside a double hash (SHA-256 combined with RIPEMD-160) to create your address.

The Safety Net:

  • A quantum computer running Shor's algorithm cannot attack an address if it only sees the hash.
  • To reveal the public key, the owner must broadcast a spend transaction.
  • For coins sitting quietly "at rest" in modern addresses, the public key remains completely hidden and safe from quantum attack.

5. Quantum Hardware Timelines and Government Action

While the algorithms have existed for decades, the physical hardware required to execute them is still under active development:

  • Google's March 31, 2026 Research Milestone: Google Quantum AI published a 57-page whitepaper showing that breaking Bitcoin's elliptic curve cryptography requires roughly fewer than 500,000 physical qubits (around 1,200 logical qubits)—an order of magnitude smaller than older estimates that projected needing tens of millions of qubits.
  • Today's top quantum processors operate at around 100 to 1,000 physical qubits.

U.S. Executive Orders:

  • On June 22, 2026, two quantum-related executive orders were signed, accelerating federal agency migration toward post-quantum cryptography (PQC).

DARPA Benchmark Goals:

  • The Defense Advanced Research Projects Agency (DARPA) established the Quantum Benchmarking Initiative (QBI) specifically to evaluate whether a fault-tolerant, utility-scale quantum computer can be built by 2033.

Summary Takeaway

Chamath was right that Satoshi's original wallets are structurally vulnerable to quantum breakthroughs, but wrong about the underlying math (it is Elliptic Curve math, not SHA-256) and wrong that

  • AI alone can guess it.

Newer Bitcoin wallets remain secure behind cryptographic hash wrappers.

  • As quantum hardware advances, Bitcoin developers can introduce post-quantum signatures via a soft fork, protecting the network long before commercial quantum computers reach scale.

Posted Using INLEO