upvote
There are no known mathematical methods that threaten RSA, except for ones that rely on quantum computers that we don't have. "Known" being the key word. There are already methods that reduce RSA's complexity - just not by enough to break it in practice. The math we have doesn't explicitly rule out even better unknown methods existing.

So there is a possibility that a highly capable mathematician could do what no previous mathematician could, and find a method that makes RSA breakable on today's hardware.

Now, this used to be quite reassuring - a lot of people took a crack at RSA, and they didn't find such a thing yet. But now? There was no shortage of capable mathematicians taking a crack at Riemann Hypothesis either. And then it fell.

Conversely: it's also possible that an AI would find a result saying "RSA is safe until you get massive quantum computers" - a proof that the computational complexity of RSA can't be bypassed without a quantum system's leverage - like a proof of "prime factorization complexity is at this lower bound without quantum" where the lower bound leaves RSA with long keys safe. But that, in practical terms, just leaves us where we are now with it - so the other possibility is more concerning.

reply
Arent the details of particular importance here and by abstracting at the level of known vs unknown methods based on mathematician creativity a bit misleading? Riemann Hypothesis didnt fall, it was already brute forced through millions of values to be true and the recent proofs are claiming it holds, not that a counter example was found.

is RSA complexity actually relatively unknown? If prime factorization is NP then to what end can its complexity be reduced to warrant concern? I understand that a lot things may become possible that we may have previously guessed were impossible but this seems like one of the last places to be concerned. Not that im mad about it getting a sanity check

reply
We don't really know that the RSA problem is computationally difficult. We strongly suspect so and haven't found any proof to the contrary. But nobody has succeeded in proving that it is computationally difficult either. In principle there could be some really clever algorithm that either solves integer factorization in polynomial time, or some other attack on RSA that somehow sidesteps integer factorization
reply
oh i was under the impression prime factorization was known to be NP just not NP-complete or NP-hard, is it actually unknown and just presumed to be?
reply
Yes, we know it's in NP. We haven't proven it to be NP-complete, it's probably "just" NP. Which is still plenty hard to compute. But only if NP is not in P, and we haven't proven that yet
reply
"we have no proof this concrete wall won't just turn into dust randomly some day for no reason, we just assume it will not"
reply
We don't have a lower bound for prime factorization, so we can't actually say that AI assistance poses no threat to RSA. It's highly doubtful that a polynomial-time algorithm exists, given the family of problems in NP that prime factorization reduces to.
reply
I think Moxie Marlinspike summarised the situation best.

https://x.com/moxie/status/2127124315019903338?s=20

> Even with everything that has happened in math recently, and even with all the rumors, I think I'd be surprised if LLMs broke RSA.

> One thing I've noticed throughout my career is that innovation often happens when someone recognizes that an idea or incremental advance in one area or discipline has a significant implication for an unrelated area or discipline.

> That recognition has historically been meaningful and rare because knowledge is fragmented and humans are specialized, so it has required people with curiosity beyond their immediate field. Research on fermentation is what helped Lister prevent surgical infections. Applying abstract mathematical logic to electrical switches helped Shannon develop the foundations of digital computing.

> I think this is one of the major things that is changing with LLMs. LLMs can draw on knowledge across more specialties than any individual human, so it is possible for LLMs to connect different areas of understanding in order to yield new results. While I am very much not a mathematician, my sense is that this is a part of what is happening with new AI math results: connecting ideas across several previously-specialized areas of math to develop new constructions.

> Factoring, however, presents a different research environment. Its basic challenge (recovering the prime factors of a large composite number) is extremely simple to state and very widely understood. It has attracted attention for centuries, and its importance to cryptography has highlighted the incentive to look for shortcuts for decades. To me, this means that it may offer fewer opportunities created by neglected connections between fields, just because it is so much more likely that someone could already conclude "oh, factoring!" after an incremental advance in an unrelated specialty.

> There is also a very challenging constraint on success. We already know how to factor any integer given enough time. Actually breaking RSA through factoring requires an algorithm that works at practical cost. Even a polynomial-time algorithm could remain impractical if its computational costs were too large.

> None of this rules out a breakthrough! LLMs could pursue a connection humans noticed but couldn’t make work, or develop entirely new mathematics. My intuition is just generally: if connecting fragmented knowledge explains a substantial part of their recent success, I would expect the gains to vary depending on how much fragmentation was holding a problem back. Factoring seems like a problem where that particular bottleneck may be smaller.

reply
thank you, this aligns with the impression I had while being much better articulated and I appreciate the healthy acknowledgment at the end to not ruling it out completely
reply