What is the Achilles' heel of Bitcoin? The true security baseline in the post-AI era
From ECDSA signatures to SHA-256 hashes, deducing several survival scenarios for Bitcoin under cryptographic breakthroughs.
Written by: Nader Al-Naji, Founder of DeSo and Basis Protocol
Compiled by: Saoirse, Foresight News
Recently, many people have been asking me about my views on Bitcoin, as significant news is expected to emerge in the field of cryptography. I haven't seen anyone else present in-depth opinions, so I want to discuss Bitcoin's security status and my own response strategies in detail. These thoughts are entirely based on independent reasoning, without the aid of any artificial intelligence.
In summary: I haven't done anything special. Personally, over 50% of my assets are allocated to Bitcoin, and I believe holding Bitcoin is generally safe. However, I will also explain under what circumstances I would change this judgment, so everyone can prepare in advance.
First of all, many people are not aware that Bitcoin's underlying structure is based on two major mathematical assumptions: the first is the Elliptic Curve Digital Signature Algorithm, or ECDSA, which relies on the discrete logarithm problem; the second is the hash algorithm, specifically SHA-256. Each serves its purpose: ECDSA is used to sign transactions, proving that the transaction was initiated by the owner; SHA-256 is used for block mining and issuing new Bitcoins.
ECDSA belongs to BQP (quantum solvable), while the preimage problem of SHA-256 falls under NP, and the security foundations of the two are completely different, which is also the source of the two types of risks for Bitcoin.
In simple terms: Even if ECDSA is cracked (the ultimate impact depends on the method of cracking), Bitcoin can generally withstand it; however, once SHA-256 is compromised, Bitcoin will collapse completely. Fortunately, the difficulty of cracking SHA-256 is much higher ------ the magnitude of this event is comparable to proving P=NP; if SHA-256 is indeed cracked, we would even need to rethink the underlying logic of the real world. The industry has already predicted that quantum computing will eventually be able to crack ECDSA, and the Bitcoin community has been actively promoting work to move away from this algorithm. I will elaborate on this below.
(Note: P = NP: All problems that can be quickly verified also have algorithms that can quickly find answers. P ≠ NP: There are many problems that are easy to verify but inherently difficult to solve, with no shortcuts.)
Let’s first discuss ECDSA and the associated risks. If ECDSA fails, migrating to other signature algorithms is not particularly difficult; relevant explorations are already underway. We have alternative signature schemes, and this is essentially a problem of engineering implementation and achieving consensus across the network, rather than a deadlock in fundamental physics or cutting-edge theory. Additionally, when you hear claims like “quantum computers can break Bitcoin,” understand that: they are not talking about cracking SHA-256, but merely breaking ECDSA. Quantum computers can indeed reduce the difficulty of solving SHA-256, but the reduction is not enough to render it completely ineffective; at most, it means that all mining machines will need to be replaced with quantum devices. This may sound bizarre, but it is likely still manageable.
Of course, this does not mean we are prepared for ECDSA to suddenly fail tomorrow. The community has been conducting various contingency simulations. If ECDSA is cracked in a “gradual” manner ------ which is the most likely scenario, we have ways to respond. What do I mean by “gradual”? The details here are crucial. At this stage, using classical algorithms to crack a set of ECDSA private keys requires more computational steps than the number of atoms in the universe. If tomorrow AI provides an algorithm to crack a private key, it would require the combined computational power of the entire globe to run continuously for thousands of years. This would already be a disruptive breakthrough, with security strength vastly different from the past, but it still leaves us ample time to switch to a more secure solution. Even if the optimal algorithm could crack a private key in an ideal condition in just 20 minutes, we would still be able to withstand it in the short term. What is the principle? Bitcoin has a special mechanism: your key is only exposed to the risk of cracking during the window period from when the transaction is broadcast until it is packed into a block; once the transaction is on-chain, it is protected by SHA-256.
In other words, if an algorithm emerges that can crack a key in about 20 minutes, theoretically, everyone can complete the migration based on the existing Bitcoin protocol: they just need to transfer coins from an insecure ECDSA wallet to a new wallet with risk resistance in one go. As long as this transfer transaction is on-chain before the cracker computes the result, your assets are safe. Even at this stage, you can still make normal transfers without immediately migrating out of the ECDSA system ------ every time Bitcoin initiates a transaction, it will change the key!
What about the worst-case scenario? If an algorithm emerges that can instantly crack keys? Actually, it’s not as desperate as imagined. We just need to make a small upgrade to Bitcoin, changing the transfer to a two-step operation: first, put the hash of the [key + transaction information] on-chain (provided that the hash algorithm itself remains secure), and after this information is confirmed by being mined into a block, in the second step, put the real key on-chain to prove asset ownership. This scheme is called commit-reveal. It is a bit more complicated than the previous scenario of cracking in 20 minutes: it requires the entire network to complete a protocol upgrade first before everyone can safely transfer coins. However, this is just a small-scale upgrade, and the community has already simulated this contingency plan; the entire migration process will not cause asset loss.
By the way, this is also the reason why the community is cautious about anti-quantum solutions. A quantum computer can crack a single key, but that alone is not enough to force a network upgrade (even though this is already a significant technical achievement); only when the time to crack a single key is reduced to about 10-20 minutes do we have to initiate a full network upgrade. Even if it can instantly crack ECDSA, a small network upgrade can allow us to transition smoothly. But that does not mean we can relax! Understanding the true logic of the ECDSA threat allows you to grasp why everyone is willing to spend a little more time carefully selecting the algorithms to switch to, to avoid experiencing a similar crisis again in just a few years.
And what about AI? How likely is it that AI will produce an algorithm that can crack ECDSA in under ten minutes? Unfortunately, the probability of this happening is higher than that of quantum computers. But remember the core premise: as long as SHA-256 remains secure, we still have a way out! We just need to quickly upgrade and enable this commit-reveal transfer mechanism, and then we can transition smoothly. There will likely be a one-month window for the community to rush to complete the upgrade, after which normal operations can resume (of course, there are special variables, namely Satoshi Nakamoto's batch of coins, which I will discuss later). Additionally, I have heard various rumors that an upcoming algorithm will be a “cosmic-level computational algorithm”: to crack a single private key, it would require exhausting all computational power on Earth for thousands of years.
This is still worth being vigilant about, as it means that faster cracking algorithms may emerge next month. However, once this slow algorithm is made public, it may actually force and unite the entire Bitcoin community to expedite the implementation of the commit-reveal scheme (or other security solutions), which could even have a positive side in the long run.
Having discussed ECDSA, let’s talk about SHA-256. If you have read this far, you will notice that I have mentioned “assuming the hash algorithm itself is secure” several times. Regarding this point, there is good news and bad news.
The good news is that hash algorithms are deeply tied to the P=NP problem. If the universal hash system is compromised, you will likely be able to solve classical NP-hard problems like 3-SAT (3-Satisfiability Problem), and all NP-hard problems will be cracked along with it. (Supplement: This inference is likely valid, but not absolutely equivalent; the accurate logic is: if P=NP, hashing becomes easy to crack, but the reverse does not necessarily hold. However, the correlation between the two is very strong; my judgment is that once someone can crack SHA-256, researchers will likely prove P=NP within a week by following the clues.)
This means that if the universal hash algorithm fails, the entire current internet security communication system will basically collapse. By that time, compared to Bitcoin no longer being secure, humanity will have more troublesome issues. (Of course, others may have bigger problems, but to be honest, I would still feel very uncomfortable for Bitcoin.) So the good news is: cracking the universal hash would be a major event that could overturn existing perceptions, and its significance is somewhat akin to AI ultimately proving the Riemann Hypothesis ------ it would merely confirm long-held conjectures in academia. Frankly, this is also one of the core reasons I continue to hold Bitcoin: I do not believe we will enter a world where P=NP holds.
So what is the bad news? If SHA-256 is cracked, Bitcoin is basically doomed. This must be stated very precisely: even if only the specific SHA-256 algorithm that Bitcoin mining relies on is compromised, it would be disastrous, and we do not need to wait for the collapse of the universal hash system; to destroy it, one would need to achieve a low-cost preimage attack. Therefore, its threshold is slightly lower than directly proving P=NP. Of course, SHA-256 itself is very robust, and its solving difficulty is already very close to NP-complete problems like 3-SAT, and these types of problems are generally believed in academia to require proving P=NP to be easily solvable.
What would happen to Bitcoin after SHA-256 is cracked? Remember: Mining is the foundation of Bitcoin network security. Many people have heard the popular explanation: computers continuously solve problems to mine blocks and receive Bitcoin rewards. SHA-256 is the problem itself. If this algorithm has a fundamental flaw, even if other hash systems are intact and P≠NP holds, the security of the Bitcoin network would immediately be in crisis. The reason is: anyone can infinitely generate random numbers that satisfy the highest difficulty conditions of the entire network, with a hash prefix of zero. In such a situation, the mining mechanism would completely fail, and we would have to switch to another secure hash algorithm ------ provided we can find one.
However, this migration would be much more complicated than the migration from ECDSA: a massive amount of capital has already been invested in ASICs (Application-Specific Integrated Circuits) specifically designed to run SHA-256, and these devices would instantly become obsolete; starting a new proof-of-work (PoW) algorithm from scratch would make the network easily susceptible to small-scale attackers for a long time. In summary: whether SHA-256 alone has a vulnerability or it fails due to P=NP, the result is extremely dire.
Based on all the above analysis, the Bitcoin community's thinking is actually very clear: to the greatest extent possible, consolidate all security assumptions around SHA-256, stripping away all other cryptographic assumptions from the protocol. Success or failure hinges on SHA-256. And this is precisely what is happening now!
Currently, there are several alternatives to ECDSA competing, with SHRINCS being the most prominent. Its signature size is relatively compact, and its cryptographic security assumptions rely solely on SHA-256 (which I personally have high hopes for). Its popularity has now surpassed that of lattice-based cryptography solutions, primarily because we can consolidate all the security foundations of Bitcoin onto the SHA-256 algorithm, which is already in use for mining.
On one hand, this sounds daunting, as we cannot be 100% certain that SHA-256 is absolutely secure; on the other hand, at least we are betting on the cryptographic component we have the most confidence in. Furthermore, if AI can formally verify the security of SHA-256 ------ which is the conclusion that the industry has long believed based on experience ------ the Bitcoin protocol would essentially be finalized, becoming the nearly unshakeable store of value we have always anticipated.
One interesting point I find is that as long as P≠NP holds, the ultimate digital store of value is achievable, and its scarcity assurance is unmatched by gold or any physical assets. If SHA-256 withstands all tests, this ultimate digital store of value will almost certainly be Bitcoin. If SHA-256 is broken but other hash algorithms are proven secure, opportunities will arise: other proof-of-work cryptocurrencies could potentially replace Bitcoin. This would be a significant shift worth watching. Perhaps I will even launch a new chain to compete, or maybe my team is already working on it!
To summarize all scenarios:
- ECDSA classic security + SHA-256 security: Bitcoin remains safe. We can steadily develop by replacing ECDSA with SHRINCS or other solutions before quantum threats arrive.
- ECDSA is cracked, and the cracking time is greater than 20 minutes (the astronomical computational level mentioned earlier): The network does not need to upgrade immediately, but everyone must rush to migrate from ECDSA; this is just a buffer, and eventually, we will enter the next scenario.
- ECDSA is cracked, and the cracking time is less than 20 minutes: Bitcoin must first complete a small-scale commitment - revealing the upgrade, so that everyone can transfer safely; relying on this mechanism to transition until completely breaking away from ECDSA.
- SHA-256 is compromised, but P≠NP holds: The market will experience a crash. Bitcoin's proof-of-work mechanism fails, but other proof-of-work solutions remain viable. The concept of ultimate digital value storage still holds, but the carrier may no longer be Bitcoin.
- Proving P=NP, but the corresponding algorithm belongs to astronomical computational level: It is just a matter of time before we move to the next scenario.
- Proving P=NP, and the algorithm is highly efficient: The underlying security order collapses. The internet encryption system we know today ceases to exist, and digital value storage becomes unfeasible, leaving us to prepare for the worst.
If you have been following Bitcoin for a long time, there is a tricky issue that cannot be avoided: Satoshi Nakamoto's batch of coins. Unfortunately, in the early days of Bitcoin, Satoshi mined about one million bitcoins and directly exposed the public key while mining. This means that as long as someone has the ECDSA cracking algorithm, even a slow one, they can steal these coins. The community initially had differing opinions on how to handle this batch of coins, and there may still be disagreements now (I have not kept up with the latest discussions), but I personally believe these coins will ultimately be destroyed. Most of the people funding Bitcoin development and the mining community hold a large number of bitcoins, and they generally support the destruction of this batch of coins. Only a small portion of people will loudly criticize for the sake of traffic, but in the end, it will likely settle down in a stable and rational manner.
On the other hand, even if the disposal plan cannot be agreed upon and this one million bitcoins are indeed stolen, in the long run, it is not a catastrophic disaster. There will certainly be panic selling in the short term, but the market can digest this shock. If the cost is that AI helps us rigorously verify the Bitcoin cryptographic system, making it an indisputable secure store of value, then this cost is actually acceptable.
By the way, if you want to find a signal to determine whether someone has already found the ECDSA cracking algorithm or a SHA-256 preimage attack, the price of Bitcoin itself and the movement of Satoshi's coins are natural observation indicators. Once any of these crises occur, those who hold this secret can anonymously open huge short positions in the highly liquid perpetual contract market. However, this warning signal is actually not very useful: by the time price fluctuations reach your eyes, your assets may have already been exposed to risk.
So what do I predict will ultimately happen? I personally am not too worried about ECDSA being cracked by AI or other means. My judgment is that even if someone finds the ECDSA cracking algorithm, it will initially only be at the astronomical computational level or take more than 20 minutes to crack. The ultimate effect will be to force the Bitcoin community to switch to SHRINCS or other alternative solutions earlier, which overall would be a good thing.
I did not mention one point above: for those who are certain about the potential of quantum computing, a somewhat ridiculous and even disappointing possibility is that all calculations that quantum computers can perform can also be efficiently completed by classical computers, which is the conjecture BQP=P.
(Note: BQP = P: All problems that quantum computers can solve quickly can also be solved quickly by classical computers. BQP ≠ P: There is a class of problems that quantum computers are inherently much faster than classical computers, and classical computers do not have efficient algorithms.)
To be honest, setting aside intuitive experience, I think that if AI really breaks ECDSA, the probability that the conjecture BQP=P will also hold is not low. I am also not particularly anxious about an efficient version of the proof of P=NP ------ I studied computational complexity theory in depth during my university years, and my judgment is that P≠NP. I believe the most likely scenario is that AI, like proving the Riemann Hypothesis, will merely reaffirm our original conjecture: P is not equal to NP.
What truly keeps me awake at night is the independent vulnerability of SHA-256 without triggering P=NP. If Bitcoin ultimately collapses, in my view, this "independent failure of SHA-256" is the most probable path. Besides the accumulated experience and intuition of the cryptography community over the years, I have no particularly hard evidence to prove that SHA-256 is definitely secure. (I have not delved into its underlying details, but the difficulty of cracking it is already very close to NP-complete problems like 3-SAT, which are the highest complexity problems.)
My contingency plan is: if SHA-256 is broken, but there are other secure hash algorithms, and P≠NP holds, the digital value storage track still stands, I will develop an alternative public chain to Bitcoin as a hedge. I have relevant experience; the DeSo I founded earlier is a proof-of-work public chain that has been running stably and has never been hacked, and I hope it can continue to do so.
Conversely, if SHA-256 holds, Bitcoin will have completed its evolution. No other asset can possess the scarcity attributes of Bitcoin: fiat currency issuance has no hard constraints, gold can theoretically increase supply through alchemy or asteroid mining in the future, land can be expropriated, and so on...
If we can consolidate all of Bitcoin's cryptographic foundations onto SHA-256, while AI formally verifies the security of SHA-256, this would be an incredibly ideal situation for Bitcoin as a store of value. I also believe this is the most likely outcome in the coming years (and possibly even faster due to the rapid advancements in AI).
This content is provided for general informational purposes only and doesn't constitute financial, investment, legal, or tax advice. Any events, rewards, online promotions, or related information mentioned herein should not be considered a recommendation, solicitation, or invitation to purchase, sell, trade, or otherwise deal in any crypto assets. Crypto assets are highly volatile and may result in loss. The availability of WEEX services, products, and related events may vary by region. You are responsible for ensuring that your participation is in accordance with applicable local laws and regulations.
You may also like

DWF Labs Annual Report: The Crypto Market in 2026 Will Normalize Rather Than Collapse, Growth in 2027 Will Be Polarized

CZ-led YZi Lab Invests 39 Billion Yen in Robotics, Surpassing Cryptocurrency Investments

China's November RatingDog Manufacturing PMI at 51.6, Staying Above the Boom-Bust Line for 12 Consecutive Months, Business Confidence Hits Seven-Month High

Cryptography Shakes the Ground! Claude's Internal Model Releases 4 Papers, 385 Theorems All Verified by Lean

Jefferies Announces Google Leads in Model Competition: Gemini 4 Neon Launched, Cloud Revenue Doubles in a Quarter, $400 Target Price Set

Ethereum Researcher: "AI Could Undermine Cryptocurrency Security Systems as Early as Next Year"

Hyperliquid’s $139 million silver market exposes a hidden risk in 24/7 commodity trading

Goldman Sachs Predicts Emerging Market Local Currency Bond Returns Will Reach 10% by 2027

JPMorgan Advances Security Sector Investments with $10 Billion in UK Defense Firms

Trump's Chief Economic Advisor Hassett Says AI Boom Is Different from Internet Bubble

Rubrik Reports Strong Q3 Results, Forecasts Q4 Revenue of $456 to $458 Million

Server Inventory Backlog and Falling Rental Prices Challenge Demand for Nvidia Chips

US AA-rated Corporate Bond Risk Premium Approaches A-rated as AI Bond Issuance Disrupts Traditional Safe-Haven Strategies

This AI Chatbot Can Process Encrypted Prompts—But Don't Share Your Secrets With It Just Yet

SBI Digital Trust Begins Validator Operations for Chiliz Chain

XRP Cafe’s 19,400 XRP hack left NFT creators chasing proof of payment

Saudi Energy Minister Denies OPEC 'Split' Rumors: Iraq Has Not Proposed Withdrawal, Delay in Production Decision Due to Turbulent Middle East Situation

New Signature Design Proposed Against Quantum Threats for Bitcoin

SpaceX Just Raised Another $32 Billion to Fund Its AI Build-Out, and 1 Number Is Extremely Telling of What Bond Investors Think of the Company

Circle CEO sees South Africa opening up to digital assets

Remittances with Stablecoins: What is Being Discussed in Colombia While India Investigates the Model

Solana co-founder pitches quantum ‘bunker mode’ for staked SOL

BBB Foods Is Building an Aldi-Style Discount Chain Across Mexico

Prediction: Nvidia Will Beat the S&P 500 Again in 2027. Here's the Math

Binance joins UK charity to trace child abuse payments

WLFI-linked wallets buy USD1 after $8.4M in WETH and SOL sales

These 3 Stocks Have Never Cut Their Dividends, and All Are Worth Buying in December

Wells Fargo Intensifies Recruitment to Boost Commodities Trading Business

Tether spends $10 million buying shares of a Bitcoin miner that holds no BTC


