Rumors swirling that labs might have cracked Factoring in P (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
If that's a possible outcome, maybe it's in the AI companies' best interest to keep it as quiet as possible for as long as possible.
Replies (14)
How do we tell if that is the case? Well, there will be a series of escalating rumors and actions that only make sense in light of this... swiftly passed bills that have weird language about mandating technical overtime or executive orders that bizarrely lift overtime restrictions for our field, or the relatively sudden appearance of new encryption standards at a pace orders of magnitude faster than we've seen before, or the sudden appearance of laws or executive orders about mitigating liability for honest attempts at upgrading security. Or it leaks out to a bad party and we start seeing hacks that shouldn't be able to happen and have no plausible explanation other than the ability to see through encryption. I doubt we'd jump straight to an announcement that it's Go Time without other twitches and signals first. You can't keep this completely quiet.
On the other hand, if we just get life as normal in the next few months... that is, the new normal of a critical security vulnerability every other day or so... then either this is a rumor that isn't quite true (Scott's "game of Telephone"), or the "crack" is such a large order polynomial that it is still impractical. There's even a long-term happy outcome possible here, where A: RSA is "broken" but B: the AI has proved that the best possible algorithm is O(n^12) or something where we can bound our risk and don't need to completely panic the way O(n log n) with some reasonable constant factor would.
I would still rate the latter as more likely, of course. That AIs could beat us at factoring primes is not hard to believe in light of previous results. That it might be distressingly easy and something we need to address, something not strong enough to base the entire economy on, but it isn't in fact so easy that the almost the entire internet instantly turns transparent, is plausible. That we've been completely freaking wrong about how hard the problem is and in fact it is a walk in the park to factor a large number... that's kind of hard to believe. It's not impossible. But it's hard to believe. If that is the case it would IMHO easily be the most shocking proof AI has found to date, and it wouldn't even be close.
Replies (2)
Replies (1)
My gut feeling is that entire category of asymmetry would probably be at risk.
Replies (1)
I have vaguely gathered that factoring can be done using Shor's algorithm which is very reliant on cancelling using quantum Fourier transforms. This is because there is a deep periodicity in prime numbers that is exploited by the algorithm.
The existence of quantum algorithms is a bit of a canary that there is a classical algorithm that does the same thing. We've seen this before with sparse matrix's.
I don't think that anyone has found an elliptic curve cracker for quantum computers.
In hindsight it might be that the surprise is that Shor's algorithm held out as quantum only for so long.
Replies (2)
Not really. Shor’s algorithm solves a very generic problem called the period-finding problem. Given a periodic function, it finds the period of that function efficiently. It can be used to factor numbers efficiently by just doing this procedure on modular arithmetic (roughly, I’m simplifying a bit). All you need is a way to do a Fourier transform on the domain of the function.
> I don't think that anyone has found an elliptic curve cracker for quantum computers
Actually Shor’s algorithm works just fine on elliptic curves. That’s actually where the fancy math comes into play: for any finite (in fact, any locally compact) abelian group, there is a uniquely defined Fourier transform. This is a foundational part of harmonic analysis. But it means you can define a Fourier transform on any elliptic curve, which means you can apply Shor’s algorithm.
Continue this thread (2 replies) →
Exactly, and it might not be n^12, it might actually be n^128 and that isn't exactly a P algorithm worth mentioning. Regardless, if we know the specific weak points of the specific algorithms being targeted, we can use AI to provably harden our defenses to 100%. This point is much more important than the sum of all "rumors" - we can know the specific treats only if all AI is open - that's the only goal worth perusing.
In other words, any real threat can come only from closed labs finding algorithmic vulnerabilities and not disclosing them to the public. We have social solutions for finding and disclosing vulnerabilities - bounties, prizes, targeted funding, etc but they require open models that everybody can work with. "Rumors" about possible breakages, known only to selected few, do a lot of harm and absolutely no good, they aren't worth discussing.
Replies (2)
No free market can pay anything remotely close to thecost of a breakdown of modern communication tools
Replies (4)
I see your point—it’s the prospect for catastrophic breakdown / suddenness, not just the obsolescence, that elevates it to a national-security-scale problem.
But in a world where the US public health enterprise has approximately the budget of some large hospitals [0]… I have to imagine the national role would be constrained to buying a little time for a transition, apportioning legal lines of liability, and establishing norms and standards for “what’s next.” And then, yes, leaving the implementation gruntwork for the free market to bear…
[0] https://stacks.cdc.gov/view/cdc/256297
Replies (4)
Not really. Symmetric crypto won't be affected by P=NP. From the information theory perspective, when you encrypt a plaintext N bits of length with a key N_K bit of length, you end up with a ciphertext of N bits of length. Then you send that ciphertext to the other party.
That N encrypted bits have _less_ information than N+N_K, there's no generic fundamental way to reconstruct the key faster than by exhaustive search. All the past attacks on symmetric crypto involve key leakage through known plaintexts, padding, etc.
Replies (1)
Replies (1)
On the other hand, learning with errors and lattice problems feel much more solid.
There is your answer. The government can afford it, so the private sector will demand it. Except of course that the work to actually migrate to whatever the new thing is will not be work the government can fund except via tax breaks.
Replies (4)
I'd encourage everyone to watch Pantheon.
It makes us more like to spend the effort looking for a solution.
So yeah, more likely to find it, but not by some weird psychological phenomenon or something.
Replies (1)
Something happens to our brains when certainty is introduced. The same effort becomes a lot more effective.
Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.
Replies (8)
Llms also make it much easier for non-experts to take advantage of hearing about the break
Replies (1)
Replies (1)
A) hear about it
B) be interested in exploiting it (both because the ramifications are more widely understood and because the world has come to depend on encryption being infallible, so there are bigger pots of gold to find)
C) be able to exploit it with an llm
You know it's a funnel, more input at the top and so on
Replies (2)
Replies (3)
Replies (1)
Continue this thread (1 replies) →
It’s no fun, and there are definitely bad side effects (which can be mitigated somewhat through solid advance planning—authorities tend to think about backup power for medical devices, for example).
But a mass exigency stimulates an awful lot of humans to feel invested in pitching in a little to get back to normal. Best, always, to avoid the situation—but we don’t lose our collective ingenuity once we find ourselves in it.
I’m reminded of stories from the wilder-and-woolier days of banking systems: hyperinflation or bank runs or currency debasement would lead to workarounds like local IOUs, tight-but-temporary withdrawal limits, barter and mutual aid…
Heck, cryptographically secure payment cards are only, what, a decade or so into widespread use in the US? [1] For decades we literally embossed on the front of the credit card everything you needed to charge it…
[0] https://journals.plos.org/plosone/article?id=10.1371%2Fjourn...
[1] https://en.wikipedia.org/wiki/EMV#:~:text=68.37%25.%5B1%5D%5...
Replies (1)
When it snows in Maine, maybe some things are closed for a day if it snows really hard.
When it snows in Texas, the state collapses.
Big difference.
Replies (4)
Replies (1)
Continue this thread (2 replies) →
Replies (1)
Well, how about 10B people signing their own bootloaders and getting mainline linux on their phones to make all the neo-Stasi surveillance states collapse in blindness?
Replies (1)
Presumably the already available elliptic curve algorithms would still be available and are the easiest first step. The second step would be to change to the post-quantum algorithms required in 2035 and beyond. There is also the possibility of moving to authentication and key agreement using symmetric cryptography and shared secrets, either peer-to-peer (like ATM PINs) or via central directories (like Kerberos).
The biggest pain point is likely to be securing embedded systems which use RSA and cannot be easily updated. Browser or smartphone app to server applications are much more easily secured.
For some uses of RSA there is also the problem that messages which have been captured and stored may be retroactively broken.
Replies (2)
Replies (3)
Replies (4)
Continue this thread (2 replies) →
More fundamentally though, both systems rest on the assumption that a long unsolved mathematical problem will remain unsolved. That seems a questionable assumption in the LLM era
[1] https://en.wikipedia.org/wiki/Hidden_subgroup_problem
Replies (1)
Replies (1)
So if real, it won't get released publicly (lest someone goes to jail).
Later, the Chinese labs with their AI will crack it and their government/spy agencies will get the crack.
Hopefully this doesn't get used as an excuse to hold back frontier AI, but some day ordinary researchers will probably be able to use open models to pull something like this off.
Replies (1)
Replies (2)
Replies (1)
Continue this thread (1 replies) →
Replies (1)
There is a tendency in tech circles to view technology, laws, economics like actual laws that rule the behavior of a mechanical society. A lot of past and recent doomerism arises from that misconception.
Replies (3)
EC is not quantum safe as I understand it, though not practical with the experimental quantum computers we have today. See also https://en.wikipedia.org/wiki/Elliptic-curve_cryptography#Qu...
Yes we’ve needed more bits for RSA than EC for a long time now since congruence of squares allowed a sigificant improvement that we never knew how to replicate for EC but if factoring is P the i’d be very concerned about the closely related EC algs too.
Replies (3)
Most of the "good people" have left and that includes capable people with integrity.
Replies (1)
Replies (1)
Replies (1)
Continue this thread (3 replies) →
Replies (1)
Replies (1)
Replies (1)
It will be a nothingburger, not a crisis. There will be some Y2K style transitioning here and there, but after a year we'll be looking back and laughing at the quaint cryptography methods from the old days. Naive.
Replies (1)
Replies (1)
I also don't know if current AI CEOs would dislike this outcome as they could be regulatory captured by an incredibly corporate friendly admin and kill competition and funding issues.
Replies (1)
Edit: I forgot al gore invented the internet so maybe he's an exception