Artificial intelligence is making rapid advances in mathematics, raising an uncomfortable question for Bitcoin: Could it eventually undermine the cryptography the system relies on?
Last week, theoretical computer scientist Scott Aaronson indicated he was already aware of Anthropic’s new quantum lattice algorithm research, and added that “separately from that, I’ve heard endless rumors and speculations about what else the labs might have, including breaks that would cause imminent danger if they were real.”
“It would be astonishing good luck if all our current crypto protocols managed to survive the onslaught of the newly superhuman AI mathematicians without a scratch.”
Most research to date has focused on Bitcoin’s elliptic-curve signatures as it’s been known for years that a sufficiently powerful quantum computer could reverse engineer private keys from public keys using Shor’s algorithm.
But what if a super intelligent AI is able to compromise SHA-256, the hash function that underpins Bitcoin’s mining and blockchain history?
Nobody has ever come close to breaking the full SHA-256 algorithm and hash based cryptography is considered the gold standard to protect against quantum computers and AI. But we’re entering a brave new world, where anything seems possible.
In October, Eigen Labs and Zcash organization Shielded Labs launched HashSmash, a competition challenging participants to use AI agents against four cryptographic hash functions, including Bitcoin’s SHA-256. Within weeks, a participant found a faster way to make two different inputs produce the same hash on a weakened version of SHA-256 that was cut to 39 rounds.
Bitcoin’s pseudonymous creator, Satoshi Nakamoto, considered the possibility more than 16 years ago and outlined two ways the network might survive.
If SHA-256 suddenly broke without warning
Asked what would happen if SHA-256 were suddenly cracked, Satoshi suggested preserving the blockchain’s last trustworthy state and continuing with a replacement hash function.
“If SHA-256 became completely broken, I think we could come to some agreement about what the honest blockchain was before the trouble started, lock that in and continue from there with a new hash function,” Satoshi said in a post on June 14, 2010.

But Satoshi’s plan was made without any knowledge of how difficult it is to make any changes to the protocol. The Bitcoin community has a hard time agreeing on anything.
“There is no established process for this,” Christopher Smith, founder and CEO of Quantus, tells Magazine.
Developers, miners, exchanges and other participants would need to agree on where the legitimate blockchain ended before the attack compromised it. It could be contentious if nobody agrees exactly when the trouble began.
“Major parties will almost certainly disagree, either honestly or maliciously, which could lead to a fork,” says Smith.
A rollback would also discard legitimate transactions confirmed after the agreed cutoff. At roughly five onchain transactions per second, even an hour of lost history could affect around 18,000 transactions — including payments for goods already delivered or exchange withdrawals already credited.
Recovering those payments would create another problem.
“Any reversed transactions would have to be squared up by the users themselves,” he says. Records on the abandoned chain could provide evidence that a payment had been made, but reconciling it would fall to the parties involved.
That problem surfaced in the original discussion on BitcoinTalk. In August 2010, a forum participant posting as “Inedible” asked whether transactions would have to stop while a patch was developed, followed by users recreating payments made after the recovery point.
“Let’s say it’s a large organization and they put through 10,000 transactions an hour — that could be a lot of work to redo,” they said.
So then how does the escape plan change if SHA-256 were to weaken gradually?
A planned SHA-256 phase-out
If SHA-256 were to weaken over time, Satoshi instead suggested that developers would build and test software that replaces SHA-256, setting a future block height as the switchover point.
The upgraded network would follow the existing rules until that block, then require the replacement hash function.
“If the hash breakdown came gradually, we could transition to a new hash in an orderly way,” he said. “The software would be programmed to start using a new hash after a certain block number. Everyone would have to upgrade by that time.”
Unlike an emergency rollback, a planned transition could preserve the transaction history and balances without discarding a period of legitimate activity. In this case, more warning would help developers prepare.
“The biggest obstacle to changing the mining algorithm by far would be the obsolescence of all the mining equipment,” Smith explains.
“Tens of…
cointelegraph.com
