Another rumor, from more credible voices (A.Menezes, J. Drake), is that AI found an attack on elliptic-curve cryptography with complexity 2^(n/3).
The idea isn't new. In 2013, Bernstein and Lange published a 2^(n/3) algorithm, but it needed a 2^(2n/3) precomputation, which made it completely infeasible. In 2015, Menezes and Koblitz wondered whether the NSA had a version without that precomputation (cryptography history is plenty of speculation). The rumor is that AI found one.
That would fit the NSA's guidance: P-256 isn't at immediate risk, but migrate. P-384 is fine.
Let's break down what it means.
Today: the best known attack costs about 2^(n/2). For P-256 or secp256k1 (Bitcoin's curve), that's 2^128: 128 bits of security. Even with all the computing power on Earth, breaking one key would take far longer than the age of the universe. Absolute security.
With a 2^(n/3) attack: security drops to about 2^85. (P-384 would still sit at 2^128, which could explain why NSA doesn't comment on those)
How high is a 2^85 bar? I'll count one attack operation as one basic operation, which favors the attacker (it's the worst case for security). In reality, each step of the attack likely costs much more.
With GPUs: at about 5 billion curve operations per second per GPU, 2^85 operations take about 2,000 billion GPU-hours, or roughly $860 billion in cloud rental to break one key 💸.
Compare that with the richest Bitcoin address: a Binance cold wallet holding 248,598 BTC, about $11 billion. Its public keys are already exposed on-chain, so in theory it's attackable. But on GPUs, the attack would cost about 80 times what it could steal (assuming it's not a multisig). Even if they succeeded, Bitcoin's price would crash the moment the theft became public, shrinking the loot.
With dedicated chips (ASICs): a serious attacker would design chips that do only one thing, attack elliptic curves. That requires huge upfront investment and capacity at TSMC, which is hard to get while AI is buying every wafer. Suppose you manage it.
We have one real-world benchmark for millions of ASICs doing the same operation nonstop: Bitcoin mining. For the global mining network, 2^85 hashes take about half a day, roughly $15 million of electricity.
But an elliptic-curve operation is 100 to 1,000 times more expensive than a hash. So, we're at $1.5 to $15 billion, per key, before counting the cost and time of designing and building the chips 💸.
Long story short: if the NSA's mystery result is a 2^(n/3) attack on ECC, breaking a key becomes theoretically possible but extremely expensive and slow. Out of reach for criminal organizations. Possibly within reach of a highly motivated nation-state, for a handful of very high-value targets, and after years of preparation (we're not talking about Bitcoin here).
Not a reason to panic. A very good reason to migrate.
Via: https://x.com/P3b7_/status/2129152247799947571