BTC
ETH
HTX
SOL
BNB
View Market
简中
繁中
English
日本語
한국어
ภาษาไทย
Tiếng Việt

Elon Musk Warns AI Could Break Cryptography—Is Bitcoin Heading to Zero?

golem
Odaily资深作者
@web3_golem
This article is about 6853 words, reading the full article takes about 10 minutes
Regarding "AI labs single-handedly destroying Bitcoin," here are the argumentative details you need to know.
AI Summary
  • Core viewpoint: Recent rumors about AI labs breaking cryptography lack public evidence. The real threat to Bitcoin is not the P=NP problem, but quantum computing; cryptography can continue to evolve, and Bitcoin can respond by upgrading its signature scheme through a soft fork.
  • Key elements:
    1. The rumor originated from Scott Aaronson's blog, but there is no paper, announcement, or verifiable demonstration to support it. Yet it fermented on social media and became a reason to sell off Bitcoin.
    2. The P vs. NP problem has remained unresolved since 1971, and about 88% of researchers believe P≠NP; even proving P≠NP cannot guarantee that keys are absolutely secure.
    3. The elliptic curve discrete logarithm problem on which ECDSA relies is almost certainly not NP-complete, placing it in an "intermediate zone" between P and NP-complete problems.
    4. The author estimates that the probability of AI solving the P vs. NP problem within ten years is about 15%, and the probability of finding a practical algorithm to break elliptic curve signatures is only about 6%, and believes the answer is most likely P≠NP.
    5. Quantum computing is the real threat: Shor's algorithm can break ECDSA and Schnorr signatures, and Google research estimates that by 2026 the resources needed to break secp256k1 may already be within reach.
    6. NIST has standardized post-quantum signature schemes such as ML-DSA and SLH-DSA, and Bitcoin can adopt a new signature mechanism via a soft fork, similar to the 2021 Taproot upgrade.

Original article fromFred Krueger

Compiled by / Odaily Golem (@web 3_golem)

Editor's note: All weekend long, the crypto world was in a state of anxiety over rumors that frontier AI labs had cracked cryptography (such as ECDSA, RSA algorithms, P=NP). Today, Musk also replied on social mediasaying, "I've heard about this from several people."

The rumor began to spread widely on November 25, when renowned theoretical computer scientist Scott Aaronson published ablog post stating that he had learned from multiple reliable sources that AI labs currently possess one or more cryptography-related "bombshells." Subsequently, although no public evidence, papers, lab announcements, or verifiable demonstrations supported these claims, the rumor gradually fermented on social media and even became a reason for investors to sell off Bitcoin.

Several crypto OGs and notable figures have weighed in on the rumor. Strategy founder Michael Saylor said that even if AI could crack existing encryption technology, Bitcoin could respond through upgrades. Others have argued that if an AI breakthrough rendered cryptography obsolete, the modern financial and e-commerce systems, as well as the entire global economy, would be severely impacted, and shorting the entire stock market would be the more logical move.

Amid this rumor, arguments about P=NP have been the most prevalent. The core of the P versus NP problem explores whether every problem that is "easy to verify" is also "easy to solve."

Bitcoin's operation is also based on this paradox: verifying a block or signature takes only an instant, while finding a nonce or private key is practically impossible. Most experts lean toward believing that P ≠ NP, but even if someone were to prove this, it would not mean your keys are absolutely safe.

This is because the problem involved in ECDSA (Elliptic Curve Digital Signature Algorithm) is not an "NP-complete" problem, so its security relies on its own assumptions. But theoretical feasibility does not mean practicality. For users holding Bitcoin, the real threat comes from quantum computing. Regardless, cryptography always evolves, and Bitcoin can also upgrade its signature mechanisms.

Fred Krueger, a Stanford PhD, explains in detail what the P=NP problem is, why Bitcoin investors should pay attention to it, and how likely AI is to break through it. Given that the Chinese-speaking community has not yet fully discussed this hot topic, Odaily has compiled the full text below. Enjoy~

What Exactly Are P and NP?

  • P refers to the set of problems that a computer can solve quickly.
  • NP refers to the set of problems for which a computer can quickly verify the correctness of a given answer.

The word "quickly" has a precise definition: as the size of the problem grows, the required work grows at a manageable rate (for example, multiplicatively or quadratically). It does not grow explosively like "guessing a 256-bit key," where each additional bit doubles the work.

Any problem that can be solved quickly can also be verified quickly, so all P problems belong to the NP class.

Is every NP problem essentially a P problem?

Here are four examples related to Bitcoin:

  • Sorting Bitcoin's UTXOs (unspent transaction outputs) by value is both easy to verify and easy to solve. This belongs to the P class.
  • Solving an extremely large Sudoku puzzle is easy to verify, but no known fast solving method currently exists.
  • Finding a valid block nonce: verification requires only a single hash operation, while finding it requires brute force.
  • Deriving a private key from a public key: verification requires only a single scalar multiplication, but no known fast solving method currently exists.

Supplement: Textbook Definitions

In textbooks, P and NP are defined through "Turing machines" (a theoretical model of a computer).

P refers to the set of problems that an ordinary (deterministic) Turing machine can solve in "polynomial time," meaning that for an input of size n, the required number of steps is at most nᵏ. In an ordinary Turing machine, each operation has exactly one subsequent action.

NP refers to the set of problems that a nondeterministic Turing machine can solve in polynomial time. This idealized machine can simultaneously try all possible paths, or you can imagine it as a machine that "always makes the correct guess"—as long as any one path reaches a "yes" conclusion, it will answer yes.

Imagine a "nondeterministic" Bitcoin miner that does not need to painstakingly try nonces one by one, but instead guesses the winning nonce in a single step and then needs only a few microseconds to verify it. No machine in reality operates this way.

These two definitions describe the same class of problems. Those "lucky guesses" along the "successful path" actually constitute a "proof" that anyone can quickly verify. A nondeterministic machine can construct a proof by guessing bit by bit and then verify it. Therefore, "solvable through lucky guessing" and "easy to verify" are essentially the same thing.

From this perspective, the "P versus NP" problem explores: can an ordinary machine always simulate lucky guessing with polynomial-level slowdown? (Because if all paths were exhaustively enumerated, the required time would be exponential.)

There are two common misconceptions here: the "N" in "NP" stands for "nondeterministic," not "non-polynomial"; quantum computers are not "nondeterministic machines"—they cannot obtain correct answers "for free"—and the academic consensus is generally that quantum computers cannot quickly solve NP-complete problems.

Why Should Bitcoin Holders Care About This Problem?

No one knows the answer yet. The problem has remained unresolved since it was posed in 1971, and it is one of the seven "Millennium Prize Problems" established by the Clay Mathematics Institute. Whoever can provide a proof will receive a $1 million prize.

If you run a Bitcoin node, then every ten minutes, you are actually living inside this problem.

I owe this knowledge to Professor Christos Papadimitriou. He was my professor at Stanford University in the 1980s and is one of the authors of the authoritative textbook in the field of computational complexity (a true "textbook-level" figure). One of his mottoes fits the theme of this article perfectly: "Anything worth explaining can always be explained through a good story."

So, let the story begin.

"Mining" Is a Perfect Example

Verifying a block is instantaneous. Your node only needs to perform a single hash operation on the block header and compare it with the target value—the whole process takes less than a millisecond.

But finding that block is extremely arduous. Miners around the world need to try trillions of nonces because no one currently knows any shortcut. They can only keep trying until the computed hash falls below the target threshold.

The same is true for keys. Verifying whether a private key matches a public key requires only a single computation; the reverse operation—deriving the private key from the public key—would take longer than the age of the universe even using all the computers on Earth.

This gap between "easy to verify" and "hard to solve" is precisely the core of the "P versus NP" problem. So, is this gap objectively real, or is it merely because we have not yet discovered the corresponding shortcut?

NP-Complete Problems: The Master Key to the World

Among NP problems, there is a class called "NP-complete problems." They are the hardest among them and are interconnected—if a fast solving method can be found for any one of them, it means a fast solving method can be found for all NP problems.

There are thousands of such problems, covering Sudoku, delivery route planning, and task scheduling. One example may seem familiar: when miners construct a block template, they need to select a set of transactions from many candidates that both ensures the highest total fees and satisfies the block size (weight) limit. This is essentially a variant of the "knapsack problem," and the knapsack problem is NP-complete.

This is why mining software typically uses "good enough" approximation schemes (such as sorting by fee rate) rather than pursuing the construction of a "perfect" block.

Therefore, proving P = NP would mean finding a fast solving method applicable to all such problems; proving P ≠ NP would mean proving that such a method simply does not exist.

Polynomial: Theory Is Not the Same as Practice

"Belonging to the P class" means being fast in theory. But actual runtime is another matter. I personally witnessed an excellent example of this discrepancy at Stanford University.

Linear programming is a mathematical method for finding optimal solutions under constraints, commonly used in fields such as oil transportation route planning, flight scheduling, or capital allocation. The following three algorithms vividly demonstrate the enormous gap that can exist between theory and practice:

  • The Simplex method (proposed by George Dantzig in 1947, who later became a Stanford professor): slow in theory, because on certain specially constructed inputs its runtime grows exponentially. But in practice, it runs extremely fast and is extremely widely used.
  • The Ellipsoid method (proposed by Leonid Khachiyan in 1979): the first polynomial-time algorithm, extremely fast in theory, but in practical application far slower than the Simplex method.
  • The Interior-point method (proposed by Narendra Karmarkar of Bell Labs in 1984): performs excellently in both theory and practice, and is the cornerstone of modern solvers.

Here is the twist: the theoretically "slow" Simplex method actually exhibits polynomial time complexity when handling average-case inputs. In the early 1980s, Karl-Heinz Borgwardt and Steve Smale proved that those "worst cases" are actually very rare. This is precisely why the Simplex method continues to prevail in practice.

What this means for "Bitcoin players":

  • Worst case does not represent typical case. Sudoku and SAT are both NP-complete problems, yet modern SAT solvers can easily handle industrial-scale problems involving millions of variables. NP-complete means that some special cases are hard to solve, not that all cases are hard;
  • Cryptography is the exact opposite. For randomly generated keys, it must be sufficiently hard to crack in the "average case," not just in the "worst case." This is a more specific and stronger guarantee than what the "P versus NP problem" can provide;
  • Actual cost matters far more than asymptotic complexity. Take the secp256k1 curve as an example: its parameter size is fixed, and what truly matters is the "actual attack cost." The strongest known classical attack algorithm, Pollard's rho algorithm, requires approximately 2¹²⁸ operations. It is this number that protects your Bitcoin, not mathematical theorems about nᵏ (polynomial complexity).

What Does This Mean for Your Bitcoin?

Bitcoin's security is built on two hard problems. Among them, the SHA-256 algorithm secures the mining process and the address system. The secp256k1 elliptic curve provides security for your signatures. Here is how various scenarios would affect signatures:

  • If P = NP and a practical algorithm exists—this is the "doomsday" scenario being widely discussed on social media right now. Finding keys or hash inputs is precisely the kind of search task that becomes trivial under a practical algorithm; therefore, theoretically, both pillars supporting modern cryptography would collapse. This would also mean that virtually all modern cryptographic systems would fail. However, most experts consider this scenario extremely unlikely.
  • If P = NP but the algorithm runs so slowly that it is unusable in practice, then nothing happens. An algorithm requiring n¹⁰⁰⁰ operations, while theoretically "fast," is useless in reality.

If P ≠ NP—this is the point most people easily overlook—even proving P ≠ NP cannot guarantee that your keys are absolutely safe. Here is why.

ECDSA (Elliptic Curve Digital Signature Algorithm) Is Not an NP-Complete Problem

Bitcoin uses ECDSA (as well as Schnorr signatures introduced after the Taproot upgrade) to sign transactions. The security premise of these signature schemes is that no one can derive the private key from the public key. This is essentially the "elliptic curve discrete logarithm problem," which is almost certainly not NP-complete. Even without a mathematical proof at present, experts are confident of this for the following reasons:

  • The problem is easy to verify in both directions. If someone claims a key exists within a certain range, they can provide a proof; if they claim it does not exist, they can likewise provide a proof. Such problems belong to the "NP ∩ coNP" category. If any one of them were proven to be NP-complete, then a large part of computational complexity theory would collapse (i.e., NP would equal coNP), and almost no one believes this would happen.
  • Quantum computers can break it. On a sufficiently powerful quantum computer, Shor's algorithm can efficiently break this problem. Experts generally agree that quantum computers cannot efficiently solve NP-complete problems, which indirectly confirms that this problem is less difficult than NP-complete problems.

The same is true for the "large integer factorization problem" on which RSA encryption relies. Such problems all lie in the "middle ground" between P-class problems and NP-complete problems. What this means for you: even proving P ≠ NP cannot ensure your keys are safe. However, even if ECDSA were broken, it would not mean P = NP, nor would it cause all other hard problems to be solved at once.

Bitcoin's real threat comes from quantum computing, not the "P versus NP" problem. On a sufficiently powerful quantum computer, Shor's algorithm can already break elliptic curve keys. Although no such hardware currently exists, estimates of the quantum computer scale needed to achieve this goal are continually being revised downward.

Google researchers previously published new resource estimates indicating that by 2026, the resources required to break secp256k1 may already be within reach. This is precisely why, for Bitcoin, post-quantum signatures are the truly worthwhile topic of discussion; it also explains why reusing addresses (thereby exposing public keys) is a bad habit.

The Mathematical Origins Bitcoin Relies On

Most experts believe P ≠ NP. In a 2019 survey of researchers conducted by Bill Gasarch, about 88% of respondents held this view. Over the past 50-plus years, despite repeated attempts by some of humanity's brightest minds, no efficient solving algorithm has ever been found for even a single "NP-complete" problem.

So why is proving this so difficult? To prove P ≠ NP, one must prove that among infinitely many possible algorithms (including those not yet conceived by humans), no efficient algorithm exists. Researchers have even proven that the most commonly used proof techniques are ineffective for such problems. Anyone who wants to solve this problem will likely need entirely new mathematical theories.

Christos Papadimitriou has devoted his life to exploring this field. He has taught at Harvard University, MIT, Stanford University, and UC Berkeley, and currently holds the "Donovan Family Professorship" in the Department of Computer Science at Columbia University. Three of his ideas are particularly important for Bitcoin users:

  • He is the author of the authoritative work in the field. His 1994 textbook "Computational Complexity" remains essential reading for graduate students studying this subject.
  • He defined the "middle ground"—some problems appear hard but are not NP-complete. Papadimitriou defined a complexity class called "PPAD" for one such category of problems; together with Constantinos Daskalakis and Paul Goldberg, he proved that finding Nash equilibria is "PPAD-complete." This is exactly the kind of complexity I mentioned earlier—between easy and extremely hard—and it is precisely the complexity that protects your private keys.
  • He focuses on "incentives." He helped build "algorithmic game theory," a discipline that studies what happens when selfish participants meet algorithms. In one sentence, Bitcoin is game theory plus cryptography.

I met him at Stanford University between 1982 and 1986. That was eight years before his textbook was published, and more than twenty years before Satoshi Nakamoto released the Bitcoin whitepaper. The core ideas that now secure Bitcoin were germinating in his office back then.

<
Safety
BTC
invest
technology
AI
Welcome to Join Odaily Official Community