From ECDSA signatures to SHA-256 hashes, deducing several survival scenarios for Bitcoin under the emergence of cryptographic breakthroughs.
Author: Nader Al-Naji, Founder of DeSo and Basis Protocol
Translator: Saoirse, Foresight News
Recently, many people have come to ask me about my views on Bitcoin, as significant news is expected to emerge in the field of cryptography. I haven't seen other deep opinions offered, so I want to discuss Bitcoin's security situation comprehensively and my own response strategies. These ideas are entirely my own independent thoughts, without any assistance from artificial intelligence.
In summary: I haven't made any special moves. Personally, over fifty percent of my assets are allocated to Bitcoin, and I believe holding Bitcoin is generally safe. However, I will clarify the situations in which I would change this judgment, so that everyone can prepare in advance.
First, many people do not realize that Bitcoin's foundation is built on two major mathematical assumptions: one is the Elliptic Curve Digital Signature Algorithm, or ECDSA, which relies on the discrete logarithm problem; the other is the hash algorithm, specifically SHA‑256. Each serves its function: 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 pre-image problem of SHA‑256 falls under NP, and the security foundations of both are entirely different, which is also the source of Bitcoin's two types of risks.
In simple terms: Even if ECDSA is broken (the ultimate impact depends on the method of breaking), Bitcoin can generally withstand the blow; but once SHA‑256 is compromised, Bitcoin will completely collapse. Fortunately, the difficulty of breaking SHA‑256 is much higher — the scale of this matter is comparable to proving P=NP; if SHA‑256 were truly broken, we would need to re-understand the underlying logic of the real world. The industry has long predicted that quantum computing will eventually be able to break ECDSA, and the Bitcoin community has been proactively promoting work to move away from this algorithm. I will elaborate below.
(Note: P = NP: All problems that can be 'quickly verified' also have algorithms for quickly finding solutions. P ≠ NP: There exist many problems that are easy to verify but intrinsically difficult to solve, with no shortcuts.)
Let’s first discuss ECDSA and its corresponding risks. If ECDSA fails, migrating to other signing algorithms is not difficult; related explorations are already underway. We have alternative signing schemes, and this matter is essentially a challenge of engineering implementation and coordinating consensus across the network, rather than a deadlock in fundamental physics or cutting-edge theory. Additionally, when you hear phrases like "quantum computers can break Bitcoin," you should understand: they are not talking about breaking SHA‑256, only breaking ECDSA. Quantum computers can indeed lower the difficulty of solving SHA‑256, but the reduction is not enough to render it completely ineffective, at most implying that all mining machines must be converted into quantum devices. This might sound strange, but it is still highly controllable.
Of course, this does not mean we are prepared for ECDSA to suddenly fail tomorrow. The community has been developing various contingency plans. If ECDSA is broken in a 'gradual' manner — which is actually the most likely scenario, we have ways to respond. What do I mean by 'gradual'? The details here are critical. At this stage, cracking a set of ECDSA private keys using classical algorithms requires more computational steps than there are atoms in the universe. If tomorrow AI provides an algorithm to crack a private key, it would need to utilize all the global computational power running continuously for thousands of years. This would indeed represent a revolutionary breakthrough; the security strength would be drastically different from the past, but it would still leave us ample time to switch to a more secure solution. Even if the optimal algorithm, under ideal conditions, could crack a private key in just 20 minutes, we could still withstand it in the short term. What is the principle? Bitcoin has a special mechanism: your key is only exposed to the risk of being cracked during the window period from when the transaction is broadcast until it is packaged into a block; once the transaction is on-chain, it is protected by SHA‑256.
In other words, if there emerges an algorithm that can crack keys in approximately 20 minutes, relying on the existing Bitcoin protocol, theoretically everyone can migrate: you just need to transfer coins from the 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 obtains the result, your assets are safe. Even at this stage, you can still conduct normal transfers without immediately migrating out of the ECDSA system — Bitcoin generates a new key with each transaction!
What about the worst-case scenario? If an algorithm emerges that can instantly crack keys? In fact, it is not as desperate as one might think. We just need to make a slight upgrade to Bitcoin, changing the transaction to a two-step process: first, put the hash value of the [key + transaction information] on-chain (provided the hash algorithm itself remains secure), and once this information is confirmed after a block is mined, then in the second step, put the actual key on-chain to prove ownership of the assets. This plan is called commit-reveal. It is a bit more complicated than the prior 20-minute cracking scenario; the entire network must first complete a protocol upgrade for everyone to safely transfer coins. However, this is just a small-scale upgrade; the community has already executed this contingency plan, and the entire migration process won’t result in asset loss.
By the way, this is also why the community has been cautious regarding anti-quantum plans. If quantum computers can individually crack a private key, it is not enough to force a network upgrade (even though this itself represents a significant technological achievement); only when the time to crack a single key is reduced to about 10–20 minutes must we initiate a full network upgrade. Even if it can instantly crack ECDSA, a minor network upgrade can allow us to transition smoothly. But this does not mean we can relax! Understanding the true logic behind the ECDSA threat allows us to understand why everyone is willing to take a bit of extra time to carefully select the algorithms for subsequent switching, avoiding a similar crisis just a few years down the line.
And AI? How likely is it that AI will produce an algorithm to crack ECDSA in under ten minutes? Unfortunately, the probability of this happening is higher than that of a quantum computer. 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 activate the commit-reveal transfer mechanism, after which we can transition smoothly. There will likely be a month-long window for the community to rush to complete the upgrade, after which normal operations can resume (of course, there are also special variables, namely Satoshi’s batch of coins, which I will discuss later). Furthermore, I have heard various rumors suggesting that an "astronomical computing-level algorithm" is about to emerge: to crack a single private key, it would need to exhaust all computing power on Earth for thousands of years.
This is still worth being alert about, as it implies that faster cracking algorithms may emerge next month. However, once this slow algorithm is disclosed, it may instead compel and unify the entire Bitcoin community to accelerate the implementation of the commit-reveal plan (or other security strategies). In the long run, this could even yield positive outcomes.
Now that we’ve discussed ECDSA, let’s talk about SHA‑256. If you’ve read this far, you will notice that I’ve 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 intertwined with the P=NP problem. If a universal hash system is broken, you will likely be able to solve classic NP-hard problems like 3-SAT (the three-satisfiability problem), and all NP-hard problems would be compromised together. (Supplement: This inference is likely valid, but not absolutely equivalent; the accurate logic is: if P=NP, hashes would be easy to break, but the reverse may not hold. However, the correlation between the two is very strong; my judgment is that if someone can crack SHA‑256, researchers may potentially prove P=NP within a week following the clues.)
This means that if universal hash algorithms fail, the entire current internet security communication system is likely to collapse. At that point, compared to Bitcoin being no longer secure, humanity faces even more troublesome issues. (Of course, others may have greater troubles, but to be honest, I would still feel very bad for Bitcoin.) So the good news is: breaking universal hashes would be a significant event capable of overturning existing knowledge, the weight of this matter resembles AI ultimately proving the Riemann Hypothesis — it merely confirms long-held academic speculation. 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.
What about the bad news? If SHA‑256 is compromised, Bitcoin is essentially finished. This must be stated very precisely: even if only this specific SHA‑256 algorithm that Bitcoin mining relies on is broken, it would be disastrous without needing to wait for the universal hash system to collapse; to destroy it requires achieving low-cost pre-image attacks. So its threshold is slightly lower than directly proving P=NP. Of course, SHA‑256 itself is very solid; its solving difficulty is already very close to NP-complete problems like 3-SAT, and problems in this category are generally believed to require proving P=NP to solve easily.
How would Bitcoin collapse if SHA‑256 is compromised? First, remember: mining is the foundation of Bitcoin network security. Many people have heard a simple explanation: computers continuously solve problems to mine blocks and receive Bitcoin rewards. SHA‑256 is that 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 will immediately become compromised. The reason is: anyone could infinitely generate random numbers satisfying the highest difficulty conditions across the network, with hash prefixes of zero. In such a scenario, the mining mechanism would completely fail, and we would have to switch to another secure hash algorithm — provided it can be found.
But this migration would be much trickier than the migration away from ECDSA: massive funds have already been invested in ASICs (Application-Specific Integrated Circuit miners) designed specifically to run SHA‑256, and these devices would all become immediately obsolete; starting a new proof-of-work (PoW) algorithm from scratch would leave the network vulnerable to small-scale attackers for quite some time. To summarize simply: whether the vulnerability of SHA‑256 emerges individually or it fails because of P=NP, the outcome would be extremely dire.
Based on all the above analysis, the Bitcoin community's thought process is quite clear: to the greatest extent possible, consolidate all security assumptions into SHA‑256, stripping away all other cryptographic assumptions from the protocol. SHA‑256 is both its strength and its vulnerability. And this is precisely what is currently happening!
There are currently various ECDSA alternatives in competition, with SHRINCS being the most vocal. Its signature size is relatively compact, and its cryptographic security assumptions rely solely on SHA‑256 (I personally have high hopes for it). Its popularity has overtaken lattice-based cryptography solutions, primarily because: we can unify all of Bitcoin's security foundations to rely only on the algorithm already in use for mining, SHA‑256.
On the one hand, this sounds alarming, as we cannot be 100% certain that SHA‑256 is absolutely secure; but on the other hand, at least we are betting on our most confident cryptographic component. Furthermore, if AI can formally verify the security of SHA‑256 — a conclusion long believed in the industry based on experience — the Bitcoin protocol would essentially solidify, becoming the valuable storage vehicle we have been anticipating from the very start, almost unshakeable.
I find it interesting that as long as P≠NP holds, the ultimate digital value store could become a reality, with a guarantee of scarcity unmatched by gold or any physical assets. If SHA‑256 withstands all tests, this ultimate digital storage vehicle will almost certainly be Bitcoin. If SHA‑256 fails but other hash algorithms are proven secure, opportunities may arise: other proof-of-work cryptocurrencies could potentially replace Bitcoin. This would be a notable shift worth observing. Perhaps I will even launch a new chain to participate in the competition; perhaps my team is already working on it!
To summarize all scenarios:
- ECDSA classic security + SHA‑256 security: Bitcoin remains unharmed. Before the quantum threat arrives, we replace ECDSA with SHRINCS or another solution, developing steadily.
- ECDSA is broken, and the cracking time exceeds 20 minutes (as mentioned earlier, the astronomical computing-level algorithm): the network does not need to upgrade immediately, but everyone must hurry to migrate from ECDSA; this is just a buffer; eventually, we will enter the next scenario.
- ECDSA is broken, and the cracking time is less than 20 minutes: Bitcoin must first complete a small-scale commit-reveal upgrade for everyone to safely transfer; 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. The proof-of-work mechanism of Bitcoin fails, but other proof-of-work solutions remain viable. The concept of ultimate digital storage remains valid, but the vehicle may no longer be Bitcoin.
- Proving P=NP, but the corresponding algorithm is at an astronomical computing level: it’s just a matter of time before we move to another condition.
- Proving P=NP, and the algorithm is highly efficient: the underlying security order collapses. The cryptographic system of the internet as we know it no longer exists, and we cannot discuss digital value storage; we can only prepare for the worst.
If you have been paying attention to Bitcoin for a long time, there’s an unavoidable tricky issue: Satoshi's batch of coins. Unfortunately, in the early days of Bitcoin, Satoshi mined about one million Bitcoins, directly exposing the public key while mining. This means that as long as someone has an ECDSA crack 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 personally, I believe this batch of coins will ultimately be destroyed. Many of the people who fund Bitcoin development and the mining community hold large amounts of Bitcoin, and they generally support the destruction of this batch. This will likely be met with loud criticism from a small number of people seeking attention, but in the end, it will probably be settled smoothly and rationally.
Stepping back, even if no consensus is reached on how to handle this, and this one million Bitcoins are indeed stolen, it would not be a catastrophic disaster in the long run. It would certainly provoke a panic sell-off in the short term, but the market can digest this shock. If the cost of this event is that AI helps us rigorously verify the Bitcoin cryptographic system, leading it to become an indisputable secure store of value, then this cost is actually acceptable.
By the way, if you want a signal to determine whether someone has already found an ECDSA crack algorithm or a SHA‑256 pre-image attack, the price of Bitcoin itself and the movements of Satoshi's coins are natural observation indicators. Once any of the crises mentioned above occur, those who possess this secret could anonymously open substantial short orders in highly liquid perpetual contract markets. However, this warning signal is actually of little use: by the time you see the price fluctuations, your assets may have already been exposed to risk.
So, what do I predict will ultimately happen? Personally, I am not too worried about ECDSA being broken by AI or other means. My judgment is that, even if someone finds an ECDSA crack algorithm, initially it will only be at an astronomical computing level, or the cracking will take longer than 20 minutes. The ultimate effect will be to force the Bitcoin community to switch to SHRINCS or other alternative solutions early, which overall may actually be a good thing.
I didn't mention one point earlier: for those who are certain about the potential of quantum computing, a somewhat amusing and even disappointing possibility is that all calculations that quantum computers can complete, classical computers can also efficiently execute, thus leading to the conjecture BQP=P.
(Note: BQP = P: Whatever problems quantum computers can compute quickly, classical computers can also compute quickly. BQP ≠ P: A class of problems where quantum computers are inherently much faster than classical computers, and classical computers have no efficient algorithms.)
To be honest, setting aside experience and intuition, I think if AI does break ECDSA, the probability that the conjecture BQP=P becomes established is not low. I’m also not particularly anxious about an efficient version of P=NP being proven — I studied computational complexity theory in depth during college, and my judgment is P≠NP. I believe the most likely scenario is that AI, similar to proving the Riemann Hypothesis, merely reaffirms our original conjecture: P is not equal to NP.
What will truly keep me up at night is if SHA‑256 individually suffers a vulnerability without triggering P=NP. In my view, this path of "SHA‑256 failing individually" is the most probable way for Bitcoin to ultimately collapse. Besides the years of practical intuition accumulated in the cryptographic community, I do not have particularly hard evidence to prove that SHA‑256 is definitively secure. (I have not deeply delved into its underlying details, but the difficulty of cracking it is already very close to NP-complete problems like 3-SAT, which are among the most complex problems.)
My contingency plan is this: if SHA‑256 fails but there are other secure hash algorithms, and P≠NP holds, the concept of digital storage will still exist; I will develop an alternative public chain to Bitcoin as a hedging strategy. I have relevant experience; the DeSo I founded earlier is a proof-of-work public chain that has been operating stably and has never been hacked, and I hope it continues to do so.
Conversely, if SHA‑256 holds firm, Bitcoin will have completed its evolution. No other asset can possess the kind of scarcity attribute that Bitcoin has: fiat currency issuance has no hard constraints, gold could theoretically increase supply through alchemy or asteroid mining, land can be expropriated, and so on...
If we can unify all of Bitcoin's cryptographic foundations to SHA‑256 while AI verifies its security through formal proof, this would represent an incredibly ideal situation for Bitcoin as a store of value. I also believe this is the outcome most likely to unfold in the coming years (thanks to the rapid progress of AI, perhaps even sooner).
免责声明:本文章仅代表作者个人观点,不代表本平台的立场和观点。本文章仅供信息分享,不构成对任何人的任何投资建议。用户与作者之间的任何争议,与本平台无关。如网页中刊载的文章或图片涉及侵权,请提供相关的权利证明和身份证明发送邮件到[email protected],本平台相关工作人员将会进行核查。



