Hacker Newsnew | past | comments | ask | show | jobs | submit | mswphd's commentslogin

Complete break of binary field finite field DH was done in public by academics. Development of the various NFS variants was done in public. SHA1 attacks. Shor’s algorithm.

Nondisclosure is rare but happens. Main example is the NSA tweaking DES’s S-boxes to be resistant to (non publically known at the time ) linear/differential cryptanalysis


Not in the slightest. Getting

1. Constant time bigint arithmetic, and

2. The padding scheme (which has had MANY issues over the years)

Done correctly is relatively complicated. But a shitty insecure version of RSA is easy to write.


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.

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.


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".


secp256k1 operations should be at least 20x-100x more expensive than sha256 hashes. should come out to around 10 TWh of energy.

AI is not magic. AI cannot magically make every problem linear time to solve on a classical computer.

Physics has limits but superintelligence would practically feel like magic if it exists. Maybe there are solutions to those problems that are out of human reach, but within conventional computer's capabilities with ASI. Maybe quantum is necessary to solve those problems, but maybe it isn't. I don't think that has been proven either way.

Not all computation gets an advantage from a quantum computer. I believe most of the improvements will come from quantum computers using quantum-friendly operations on quantum computers and classical operations on classical computers.

Of course, it’s possible that an agent with an intellect sufficiently sophisticated might see through what we don’t, and figure out ways to transpose every classical operation into a quantum equivalent that guarantees a huge speed up.


essentially no computations get speedups from quantum computers. the famous example is Shor's algorithm, though it is very particular.

Besides this, the main other famous example is Grover search, which sorts an unsorted list of length n in O(sqrt{n}) time. The issue is that it is parallelizes very poorly, to the point of not being particularly threatening for things like attacking AES128. See

https://words.filippo.io/128-bits/

for some more details.


> essentially no computations get speedups from quantum computers

I’m not sure we have that proven - I often compare quantum computers to the analog computers we had before digital floating point became fast enough. I wouldn’t rule out some new discoveries in quantum computing that could massively improve our current methods, and I would expect AI - and we’ve seen what it can do in closed loops with successive improvements - paired with increasingly capable quantum computers will be able to iterate on actual hardware to make some improvements.


Yes, technically we don't know that P!=PSPACE (at least that was the case the last time I checked, who knows what the clankers published), so we don't know that quantum computers can give better than polynomial speedup, but I think everybody in the field would be really surprised if P=BQP, and even more surprised if the polynomial speedup turns out to be a small polynomial that allows classical computers to compete with quantum computers in practice.

you can still profile rust code?

the attacks published by anthropic require > 2^1000 qubits. If you could obtain a single qubit from a single atom, then all the atoms in the universe (< 2^300) would not suffice to build the quantum computer. If each atom in the universe had its own universe worth of qubits instead (2^300^300 = 2^900), this would still not suffice to mount Anthropic's attack.

The claim that it is infeasible isn't "it requires a bigger quantum computer than things like RSA/ECC". It is instead that it is incompatible with any reasonable sense of "building a device", short of Dyson-sphere type things. Even compared to a Dyson-sphere type thing, it is completely infeasible though.


The first step after "it works" is "make it more efficient". It seems logical to me (nonexpert) to believe the storage (qubit) requirements will come down dramatically as work continues.

The first step after devising an attack that involves a galaxy's worth of Dyson Spheres is indeed "make it more efficient". There's literally nowhere to go but "more efficient". Somewhere far along the journey from that attack to "more efficient", you pass by "brute force".

2^300^300 = 2^(300*300) = 2^90000

Think you mean 2^300*2^300 = 2^600 btw

So you're saying that the takeaway from Anthropic's announcement could be:

- our cool model was able to come up with this purely theoretical attack on PQC's - (the subtext is: it's mathematically possible, but physically impossible - so ACTUALLY, we can conclude that PQC is much safer than we ever thought)

(which leads to the NSA saying: hey let's all migrate to PQC asap, since Anthropic has shown it's actually safe).

Does that sound right?


RSA 1024 is within reach, and has been even pre-AI. The main world experts on RSA (who developed the CPU library that was ported to GPU to achieve recent factoring records) have explicitly said this. Quoting from

https://hal.science/hal-03691141

> It is obvious that larger computations are possible, and it is widely accepted that 1024-bit factoring and discrete logarithm are feasible now, with hardware and software that currently exist. A ballpark estimate is that factoring a 1024-bit key would be about 200 times harder than RSA-250, or around 500,000 core-years of computation.


They recently got 896 which took about 263,000 GPU-hours(30 years).

Based on that 1024 is about 900 GPU million years. Which if they ran on the same level hardware as 896 would go from 10 days (~$1m) to 5.3 months. But that also got deprecated back in 2013 so people should be way off it. 2048 is then about 35 billions times harder. The only fear for 2048 being factorable is quantum computers which is the push to post quantum anyway


no. there could be non-quantum improvements that would break RSA-2048. In particular, if improvements to other index calculus algorithms (like binary field discrete log) could be ported over to factoring (which uses index calculus), RSA-30k would be broken.

This has so far not happened in the ~7 years that the binary field discrete log algorithms have existed. But I view it as a decently credibly risk to RSA that does not require quantum computers. This does not make it likely, but it is the piece of "AI cryptanlaysis" I would be the least surprised if it occurred.


If you wanna look at every option sure. But the reason people reference quantum first is it's on track to get to that level in the next 15 years way before. By which point everyone should be using post quantum. Hell most things should already be working on plans to move away from rsa if they aren't already. I wish people would calm down a bit and stop fear mongering

How does this address that a better algorithm than NFS may be discovered in index calculus theory for integers? That would change the entire factoring cost calculus.

We are already in the age of mathematical miracles basically, yet 15 years for hardware seems the more probable route? Why? How? Genuinely curious


Because none of them have been "miracles". The most impressive one has been the Reinmenn which just confirmed what we already suspected to be true. The way Maths actually advances is when things like Reinmenn get solved we learn new methodology and process that lead to the solve. While it's impressive it was solved it being largely done by ai hasn't offered anything new just confirming a hypothesis. Top mathematicians aren't losing sleep thinking AI is gonna crack global cryptography faster then the on track process we already knew was happening. The recent breakthrough that anthropic that stirred up all this on structure lattices was on something that's existed for 2 years and hasn't received much scrutiny yet. It just sped up finding something that would have been found later. But also before we were using it. Like most cryptography. Ai is cool and a game changing tool in some regards but it's not just fundamentally rewriting maths

the real saving grace is that it has a hidden constant of ~2^800, so it ends up requiring ~2^1000 qubits to execute. This is well over the number of atoms in the universe (<2^300). If each atom in the universe had its own universe worth of atoms, the attack would still be completely unrealistic.

An efficient quasipolynomial attack can completely break a scheme. For example, RSA and finite-field DLOG tend to have similar complexities to break them. The exception is binary characteristic FF dlog. Academics have broken factoring/FFdlog in ~800 bit instances (the RSA record was recently pushed higher by AI companies, but still). Academics have broken > 30k bit binary characteristic FF dlog, which admits a quasipolynoimal attack. If the quasipolynomial attack here was of similar efficiency (even if it was still quantum), it would be very reckless to suggest using ML-KEM still. It is far from this efficiency though.


No disagreement, though it's completely ordinary to see follow up work that slashes constants.

you probably can reuse the multiplication for other schemes. For example, on some platforms the SOTA way to multiply in Saber was to use Kyber's multiplication (roughly --- I'm talking about the "ring switching" paper).

NTRU prime is still vulnerable to the dense sublattice attacks against general NTRU though? Those don't extend to the PKE regime. So maybe they're fine. But Anthropic's attacks in this post don't extend to any regime of human relevance. So it is not obvious that they are more concerning than the known attacks against NTRU.

Unfortunately I do not believe there is a "clean" answer to this. The open question is if this anthropic result is like other recent asymptotic LLM results (SAT algorithm behind the ETH disproof, matrix multiplication algorithm, o(n log n) integer + poly mult papers, etc), in that there's no real hope for it to yield a concretely efficient algorithm. Or if it is improvable.


theoretically it is a big improvement, and if the constants could be brought down, it might matter practically. it remains to be seen if that can happen. Clearly they would need to be brought down a LOT though.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: