> Cryptography & Real-World Security
No Immediate Threat to RSA: Despite the headline exponent of $1/3$, this does not break RSA or compromise current public-key infrastructure.
> Reassurance for Cryptographic Assumptions: Ironically, proving that factoring is unconditionally in $L_N[1/3, O(1)]$ reinforces existing cryptographic modeling. Cryptographers already assume adversaries can factor in $L_N[1/3, 1.923]$ time when sizing RSA keys; this theorem simply removes the theoretical possibility that worst-case hard instances exist that resist $L_N[1/3]$ algorithms.
> this theorem simply removes the theoretical possibility that worst-case hard instances exist that resist $L_N[1/3]$ algorithms.
I don't think this theorem proves this. This would be an enormously huge deal, because it would show that factoring is not polynomial. The paper would state that front and center, in the abstract, in the title, and about 10 more times on the first two pages.
I think the paper just says that what was known empirically in the past (that factorization can be done with an algorithm in the L_N[1/3, O(1)] class), is now proven formally. It does not establish a lower bound.
Yes, so proving factorization is in P doesn't prove that P=NP.
Integer factorization is in NP though (it's just not proven to be NP-hard). So proving that you can't factorize in polynomial time would prove that P!=NP.
For context, factoring RSA with a key size of 1024 would still take 500k core years to compute. This proof and that estimate are only an improvement. The algorithm is superpolynomial. Worse than polynomial, but faster than exponential. To my understanding, anyway.
Also, even if it used a 1024-bit key, it's a cert for a MITM proxy. You're already MITM'd, it doesn't matter if the MITM uses a 1024-bit key or a 1048576 bit key.
Probably I was off by a power of two. It is a very juicy certificate to have the private key for if you're not Zscaler, as it is trusted by a large number of corporate machines for some reason. (Although I don't doubt that it is easier to steal the key than to factor it, even if it was 1024 bits.)
The comment before me gave a difficulty time that on its face looked expensive; but my response was a reflection on that “that may look like a long time, and it sounds like it! But there are players out there that have the resources to do it”.
I wasn’t going for a “checkmate” or anything. 2048 and 4096 bit certificates are several orders of magnitude more difficult to break. Enough that it makes this a non-issue.
Because cryptographers love creating panic over highly impractical theoretical attacks when everyone knows that to break a cryptographically protected anything you point Artex at it, completely ignore that the crypto even exists, and when you come back from your coffee you're in via a chained-exploit 0day that's been in there for 15 years.
Not attacking you here but pointing out that while people distract themselves with numerology the actual attackers are running rampant more or less unchecked. For example who's-who of major players for years used DKIM keys as weak as 384 bits, with 4,000 domains, a third of all the ones using DKIM, using keys so weak that anyone, as in a single individual not a government, could have broken them. And... nothing happened, because the attackers didn't care. It wasn't affecting them, all the things they were exploiting were elsewhere so it didn't matter if the keys were 384 bits or 16,384 bits.
Yes but it was never proven (hence the "unconditional" qualifier). However, I believe unconditional subexponential has been known for some weeks now, as an indirect consequence of the ETH refutation (still, L[1/3] is better). Time flies!
Alright, guess I can ask this here. In my quizzes I ask a question something like "Which of the following can factor a large composite number orders of magnitude faster than brute forcing," and the answer is none of the above, this doesn't exist.
What do y'all think of this question? And is it still true? My gut is that it is, yes?
I don't think that clearly excludes randomized algorithms, and if you don't Lenstra-Pomerance 1992 was already unconditionally proven to run in L[1/2].
There's also "can" vs. "proven worst case". Like, GNFS empirically has factored some large numbers faster than brute force would have taken.
But no, this claimed result doesn't seem to change anything about your question.
I think this is misleading enough to remove the questions, since someone probably can’t be expected to know how the runtime of this algorithm actually compares to trial division and how this depends on number size.
The exponent is 105 * n^1/3 * (log n)^2/3 for the proven deterministic algorithm (this is what L[1/3, 105] apparently means). Note that the best known probabilistic algorithm, much older than this, was 1.923 * n^1/3 * (log n)^2/3 (this was L[1/3, 1.923]). This older algorithm is thus ~exp(103) times faster than the newly proven one, hence why this has no cryptographic impact. Note that n here is the bit size of the number you are trying to factor.
This [1] Wikipedia article explains the notation pretty well. L[0] would be polynomial in log n, which is the actual size of the input, and L[1] would be exponential. This is L[1/3]. I guess that makes it 2/3 below exponential. ;)
The test I am thinking of is Miller's deterministic test [1], which predates but is related to the widely-used Miller-Rabin probabilistic test. (Note that the terminology is apparently historically a bit weird regarding what is the "Extended" vs the "Generalized" Riemann Hypothesis, but the recently released proof covers what's needed in order to prove that this test is correct.)
So this is the big one?
Edit: Context from Gemini:
> Cryptography & Real-World Security No Immediate Threat to RSA: Despite the headline exponent of $1/3$, this does not break RSA or compromise current public-key infrastructure.
> Reassurance for Cryptographic Assumptions: Ironically, proving that factoring is unconditionally in $L_N[1/3, O(1)]$ reinforces existing cryptographic modeling. Cryptographers already assume adversaries can factor in $L_N[1/3, 1.923]$ time when sizing RSA keys; this theorem simply removes the theoretical possibility that worst-case hard instances exist that resist $L_N[1/3]$ algorithms.
> this theorem simply removes the theoretical possibility that worst-case hard instances exist that resist $L_N[1/3]$ algorithms.
I don't think this theorem proves this. This would be an enormously huge deal, because it would show that factoring is not polynomial. The paper would state that front and center, in the abstract, in the title, and about 10 more times on the first two pages.
I think the paper just says that what was known empirically in the past (that factorization can be done with an algorithm in the L_N[1/3, O(1)] class), is now proven formally. It does not establish a lower bound.
It would prove P!=NP...
Integer factorization is not known to be NP Complete.
Yes, so proving factorization is in P doesn't prove that P=NP.
Integer factorization is in NP though (it's just not proven to be NP-hard). So proving that you can't factorize in polynomial time would prove that P!=NP.
For context, factoring RSA with a key size of 1024 would still take 500k core years to compute. This proof and that estimate are only an improvement. The algorithm is superpolynomial. Worse than polynomial, but faster than exponential. To my understanding, anyway.
That's not that long for an interested MegaCorp or Nation State actor and a targeted cert, even a root CA
And which 1024-bit key you would dedicate a year of supercomputer time to breaking?
Zscaler's 50-year root CA.
You mean ZscalerRootCertificate-2048-SHA256.crt?
Also, even if it used a 1024-bit key, it's a cert for a MITM proxy. You're already MITM'd, it doesn't matter if the MITM uses a 1024-bit key or a 1048576 bit key.
Probably I was off by a power of two. It is a very juicy certificate to have the private key for if you're not Zscaler, as it is trusted by a large number of corporate machines for some reason. (Although I don't doubt that it is easier to steal the key than to factor it, even if it was 1024 bits.)
Sigh. I feel like I’m being attacked here.
The comment before me gave a difficulty time that on its face looked expensive; but my response was a reflection on that “that may look like a long time, and it sounds like it! But there are players out there that have the resources to do it”.
I wasn’t going for a “checkmate” or anything. 2048 and 4096 bit certificates are several orders of magnitude more difficult to break. Enough that it makes this a non-issue.
Why you gotta bite?
Because cryptographers love creating panic over highly impractical theoretical attacks when everyone knows that to break a cryptographically protected anything you point Artex at it, completely ignore that the crypto even exists, and when you come back from your coffee you're in via a chained-exploit 0day that's been in there for 15 years.
Not attacking you here but pointing out that while people distract themselves with numerology the actual attackers are running rampant more or less unchecked. For example who's-who of major players for years used DKIM keys as weak as 384 bits, with 4,000 domains, a third of all the ones using DKIM, using keys so weak that anyone, as in a single individual not a government, could have broken them. And... nothing happened, because the attackers didn't care. It wasn't affecting them, all the things they were exploiting were elsewhere so it didn't matter if the keys were 384 bits or 16,384 bits.
The old "how to get past a three foot thick triple locked door propped up in an open field joined to a three strand wire fence" conundrum.
I think it's an upperbound only. If they can prove it's also the lowerbound, then it would be the big one.
Right, a super polynomial lower bound also would have proved P != NP
I dont think so.
Factoring in P would be the big one.
I don't get the excitement
hasn't L[1/3] factoring already been a thing for decades with general number sieve?
Yes but it was never proven (hence the "unconditional" qualifier). However, I believe unconditional subexponential has been known for some weeks now, as an indirect consequence of the ETH refutation (still, L[1/3] is better). Time flies!
Duplicate of https://news.ycombinator.com/item?id=50641847
Alright, guess I can ask this here. In my quizzes I ask a question something like "Which of the following can factor a large composite number orders of magnitude faster than brute forcing," and the answer is none of the above, this doesn't exist.
What do y'all think of this question? And is it still true? My gut is that it is, yes?
I don't think that clearly excludes randomized algorithms, and if you don't Lenstra-Pomerance 1992 was already unconditionally proven to run in L[1/2].
There's also "can" vs. "proven worst case". Like, GNFS empirically has factored some large numbers faster than brute force would have taken.
But no, this claimed result doesn't seem to change anything about your question.
I don’t know about orders of magnitude but there are ways to factorize that are better than just brute forcing (trial division).
https://en.wikipedia.org/wiki/General_number_field_sieve
I think this is misleading enough to remove the questions, since someone probably can’t be expected to know how the runtime of this algorithm actually compares to trial division and how this depends on number size.
Their notation is wrong: L_X(α,c) = exp *!* (c *,* ... )
How much _below_ exponential time are we talking about?
The exponent is 105 * n^1/3 * (log n)^2/3 for the proven deterministic algorithm (this is what L[1/3, 105] apparently means). Note that the best known probabilistic algorithm, much older than this, was 1.923 * n^1/3 * (log n)^2/3 (this was L[1/3, 1.923]). This older algorithm is thus ~exp(103) times faster than the newly proven one, hence why this has no cryptographic impact. Note that n here is the bit size of the number you are trying to factor.
This [1] Wikipedia article explains the notation pretty well. L[0] would be polynomial in log n, which is the actual size of the input, and L[1] would be exponential. This is L[1/3]. I guess that makes it 2/3 below exponential. ;)
[1] https://en.wikipedia.org/wiki/L-notation
> Every prime factor in the output is certified deterministically via Agrawal–Kayal–Saxena primality testing
Little did they know they could have used a faster deterministic primality test now that GRH is known to be true.
Sounds interesting, which primality test is that? Do you have any references?
The test I am thinking of is Miller's deterministic test [1], which predates but is related to the widely-used Miller-Rabin probabilistic test. (Note that the terminology is apparently historically a bit weird regarding what is the "Extended" vs the "Generalized" Riemann Hypothesis, but the recently released proof covers what's needed in order to prove that this test is correct.)
[1] https://www.cs.cmu.edu/~glmiller/Publications/Papers/Mi76.pd...
Nice! Thanks for the reference.
GNFS is already subexponential who cares? I want to know what they're not telling us, and hope there's some crypto left at the end of it.
All of that rumourmongering, and all we got was a stronger bound.
;)