Hacker News new | ask | show | jobs
by rmu09 3 days ago
Is it even known that factorization is NP? Maybe some new efficient algorithm (like manually calculating a square root) pops up that just yields the largest prime factor of a number? Is that ruled out? That would break RSA without touching all the other P=NP stuff.
2 comments

It's "trivial" to show that Integer Factorization is in NP and also in co-NP.

In NP: given a factor, check it.

In coNP: give prime factorization.

It's not known whether factoring is in P.

Nor is it known whether it's NP-complete, which is usually what people intend when they informally speculate whether something "is NP" or "is in NP" (yes I know that's wrong and nearly backwards, but it's still common).

I don't understand what you're trying to say, but yes, IF could be in P, and it could be NP-complete, but in the latter case, it would mean that NP=coNP, which we don't believe.

It's conjectured to be NPI (NP intermediate), but that's only a conjecture.

We can already break RSA to varying degrees. Here's the most recent (also with Anthropic btw):

https://saweis.net/posts/rsa-896.html