upvote
"256 down to ~85" indicates type confusion. 256 bit in the context of 256bit ecc is not the same as 256bit symmetric crypto equivalence. 256bit ecc is taken to be more like ~~128bit symmetric key security (maybe more like 100, somewhere in that ballpark of estimated equivalence). So ~85bit would be an improvement, and a meaningfully large one, but not a log-large improvement like 256 -> 85 would be.

(The point above is not that ~85bit is secure, only that you can't compare 256bit ecc with 85bit symmetric-key-equivalent security; 256-bit ecc never had 256-bit symmetric-key-equivalent-security).

reply
Still, if I learned of a feasible 2^85 attack today, I would instantly deprecate X25519 and Ed25519 in my crypto library, and replace them by something else before the year is over. Likely Curve448/Ed448 in the short term, so the only thing I have to change in my API is the size of a couple buffers. But if the quantum cryptocalypse is as close as some say, I'll likely have to go PQ before next summer.

Dammit, I wanted to be done. Oh well.

reply
beyond the rho sqrt, these cryptosystems have lower resistance against multi-target attacks than idealized symmetric constructions. and then there are the constant factors, memory and communications costs... it's just quite difficult to compare the security except on an order of magnitude basis.
reply
That’s fair! Yes. It’s about 1/2 as secure for symmetric to asymmetric here. You’re right.

IDK if that means the equivalent to 43bits in which case it would be panic time. Or there is more to it than that. But yes, I switched to symmetric combinations.

reply
85bit is very much doable by a nation state. Bitcoin does ~ 2^70 hashes/second. So 2^85 hashes (more expensive than 2^85 bit operations) is achieved in 9 hours approximately.
reply
And the implication for Bitcoin would be that it would cost over a billion dollars to hack a wallet. 2^85 operations in 10 minutes is just not presently feasible, so the mempool would be safe from double-spend attacks. Old Satoshi-era 50 BTC wallets would be safe via economics. Wallets that had over a billion dollars would theoretically be vulnerable.

Of course, that assumes there isn't still a pretty large (but non-galactic) constant factor/precomputation storage cost that needs to be bolted onto it, which makes the attack worse.

That would still be getting into the regime where Bitcoin would really need to get off of secp256k1 immediately, since any subsequent breakthrough would very likely be fatal.

reply
Where do you get that billion from?

My numbers: * Hash rate: 974 EH/s, so 2^85 hashes take about 11.0 hours. * Mining revenue: $26.6 million per day, or about $12.2 million over that period.

Assuming that miners don't operate at a massive loss, that means the cost to compute 2^85 hashes is <$12 million. So I wouldn't count on secp256k1-cracking in 2^85 operations costing "over a billion dollars".

reply
Somewhat confusingly P-256 targets 128 bit security.
reply