Remix.run Logo
▲ jerf 7 hours ago

If factoring is practical and easy... very important phrase, this rather alarmist paragraph is contingent on this being easy... this will be a literally all hands on deck situation. The entire global economy will be at stake and all governments will effectively be in a war situation. Up to and including literally bombing anyone who tries to take advantage of the situation and hack around, regardless of any previous war implications of that, because the US, the EU, China, Russia, India, and pretty much every major power will instantly be on board with this. (Sneaking around with spies and intelligence agencies is all fun and games, but everybody can break everything is not the stable equilibrium they are adapted for and no serious power will want that.) Nuking the hackers will be seriously considered. We, the people reading this, will be obligated to put in whatever overtime we need to resolve this as quickly as possible, with hastily drafted legal penalties for failure to do so. There will be effectively no upper bound to what the government will do to address this. It could negate all the benefits of AI to date in one fell swoop.

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.

▲jnwatson 7 hours ago | parent | next [-]

RSA is important, but it isn't that important. The US government mandated going to ECC for classified processing some 21 years ago, only now temporarily paused to make the next transition to PQC.

▲lwansbrough 6 hours ago | parent [-]

I feel like if polynomial factoring is possible, elliptic curves aren’t far behind.

My gut feeling is that entire category of asymmetry would probably be at risk.

▲sgt101 6 hours ago | parent [-]

If we're vibing...

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.

▲openasocket 5 hours ago | parent | next [-]

> This is because there is a deep periodicity in prime numbers that is exploited by the algorithm.

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.

▲phkahler 5 hours ago | parent | next [-]

>> Actually Shor’s algorithm works just fine on elliptic curves.

Thanks, I was not aware that it could be used for that. The number theory approaches have always indicated EC and RSA are fundamentally different.

▲openasocket 4 hours ago | parent [-]

Shor’s algorithm is a bit of an oddity in that respect, because the only structure it works on is the Fourier transform (plus sampling). It’s just that you can very quickly and efficiently do the Fourier transform on a quantum computer.

Elliptic curves and the primes are certainly different, but they do share some very deep structures. It’s been a while since I studied it, but I believe some of the factoring algorithms (I think some of Lenstra’s work) actually exploited some results from elliptic curves to factor integers.

Edit: it’s this algorithm I was thinking of: https://en.wikipedia.org/wiki/Lenstra_elliptic-curve_factori...

▲phkahler 4 hours ago | parent [-]

Algorithms up to EC are covered in "Factorization and Primality Testing"

https://www.amazon.com/dp/0387970401?lv=shuf&channelId=500&p...

BTW that book would be cool if all the pseudo-code were converted to python!

▲sgt101 2 hours ago | parent | prev [-]

I was all confused about elliptic curves! My apologies.

▲GIFtheory 3 hours ago | parent | prev [-]

Agent f3q8rx9, is that you?

▲bigbadfeline 5 hours ago | parent | prev | next [-]

> If factoring is practical and easy... >the AI has proved that the best possible algorithm is O(n^12)

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.

▲ 6 hours ago | parent | prev [-]
[deleted]