I've been thinking about what I'd do if I worked at one of these labs with access to a usable (not galactic) "factorization in P" result. I think the only reasonable thing would be to post a public factorization of the 2048 bit RSA challenge number. Basically, it's pretty easy to give the necessary warning to the world that would push us to fix crypto before it's public, there's no need to dump the full result publicly right away. You also want to avoid the risk of something like that becoming a 3-letter-agency secret for the next several years.
I know we all like to be cynical regarding the NSA, and with good reason, but they have in the past shown some level of foresight, and I would hope they have some sort of plan for how to deal with something being found to be broken and how to co-ordinate with industry to minimise the impact of that.
In this situation I do not see any realistic option for a US lab that wouldn't involve engaging the NSA, and would be very surprised if this wasn't already the case.
we have been warned of the NSA trying to break encryption since at least 2005. Me personally, this is all fear mongering bullshit. If they were going to break RSA it would have already happened. And if it has been broken, nobody one would know except for a few people. They usually kill or exile people trying to break RSA
The NSA tried to regulate cryptography as a munition, capped everyone at 40 bits. They wanted everyone using basic RC4 keys that were known even then to be crackable with basic hardware. Then it was DES.
When Phil Zimmerman released PGP the NSA investigated him for FIVE YEARS. He only avoided conviction because he released the PGP source code as a printed book and didn't put it on the Internet. The Gov had to get sued because cryptography is free speech, and didn't drop the 'export restrictions' until 1999.
The NSA is not there to make YOUR signals secure... quite the opposite!
They do try and keep THEIR signals secure where THEIR is wider than the agency and they have good ideas of what is possible unless of course they're leaving the military and everyone else open to spying by themselves and equivalents. I have a hard time believing they'd be allowed to do that but what do I know.
"
Michael Hayden, a former NSA Director, has since acknowledged the concept of NOBUS:
You look at a vulnerability through a different lens if even with the vulnerability it requires substantial computational power or substantial other attributes and you have to make the judgment who else can do this? If there's a vulnerability here that weakens encryption but you still need four acres of Cray computers in the basement in order to work it you kind of think "NOBUS" and that's a vulnerability we are not ethically or legally compelled to try to patch – it's one that ethically and legally we could try to exploit in order to keep Americans safe from others."
Also on my website I also have both of the Bernstein Decisions at https://cryptosystemsjournal.com/bernstein-decisions.html because it was the 1996 decision by Judge Patel that held "...source code is speech for the purpose of the First Amendment ..." and thereby is constitutionally protected.
As someone who hopes for a usable algorithm for NP (a quasipolynomial with small constants would be fine), I think realize that the encryption is not everything, and benefits (for optimization) would outweight the costs. Honestly it might not even be that a bad world if people can read each others communications.
But for factoring or discrete log specifically.. I don't care that much. You can try to keep it a secret if you want.
No, it won't. You will talk to humans directly for these things. You will have local banks that check your id for anything big. If somebody commits a fraud, people will learn about it and fix it. The payment systems will be less centralized.
It is viable, but might be difficult to imagine.
Just like elections - not everything needs to be computerized. Paper elections work fine, too.
Not really even that difficult to imagine for things like payments. Distribute OTP material in person, and you can still do remote banking. You could even "charge" your phone with a 100 MB of pad material or something. There'd even be a reason to go back to sites that actually work with a few kB of data transfer to cut down on need to recharge, so yeah let's bring on the end of key-based crypto!
Yes yes we can revert to the payments infra of the 50s ... but it's the painful, dramatic contraction such reversion implies that strikes such fear.
One envies the material position of a commenter that blithely accepts (or even awaits?) the largest economic shock of at least the century, if not longer. How impregnable the walls of his compound must be. How deep his stocks of food and fuel. How tightly the bonds of loyalty must tie his security forces to him, to keep their guns pointed outward in exchange for decimated currency.
Once again HN missing the forest for the trees. Such an event would be cataclysmic because it would disrupt all the processes that make the modern world work. Covid showed us that we are the ragged edge of brittle system failure at all times. This would be covid x1000. It would break supply chains, energy markets, food and drug supplies, literally everything. Yes, the entire system could be rebuilt after an event like that but it's the sort of thing that has a whole chapter in the history books. It would be an epoch in the history of modern humanity .
That's how everything worked for most of human history. Trust was based on relationships and face to face stuff. You can still move letters like they always did.
Encryption is almost as old as writing. Some level of symbol replacement, cyphers etc. have existed for thousands of years. Caesar cipher is more than 2000 years old
Sure, but the entirety of society has restructured around the existence of encryption. We can't just smoothly transition back to the way things worked in the 50s without facing major societal fallout. I think commenters here are being idealistic, but realistically the end of encryption would be very dangerous for regular people.
Technological progress and privacy may be diametrically opposed at a fundamental level of reality. If that is the case the future of humanity is going to be really really messy.
We're already at the point that almost all metadata of who is contacting who is known. Knowing who contacted who at which times can start narrowing probabilities to the point that you no longer need exact answers. Get enough metadata and you might as well have actual data as you approach unity.
> That's how everything worked for most of human history
You could say this about computers, vaccines, antibiotics, the haber bosch process, or anything that makes it the modern world. That doesn't mean life as we know it today would be tolerable without those things
Interestingly enough, cellular mobile networks will become the sole bastion of cryptographic trust--SIM cards store symmetric keys shared only with the telco provider, and no asymmetric crypto is used during authentication or ciphering (unless you count 5G IMSI concealment, which only really gives a little privacy improvement that is trivially breakable by downgrade to LTE anyways).
Right now people only spend a medium amount of resources on factoring, because nobody knows if it's even possible to do it in a way that comprehensively breaks RSA. If it is possible and you publish proof, that changes fast and you'll have others who can do it very quickly, and no guarantee that it doesn't then become public knowledge in short order.
That's still probably the best way to do it, but it's not going to be fun. If you see someone publish a factorization of the challenge number then it's time to drop everything and immediately stop using RSA, to the extent anyone hasn't already.
And then the question is whether the result generalizes to elliptic curves.
Posting a public factorization of RSA-2048 will instantly make you a target of nation states. No matter where you live, you will face the risk of sudden abduction by state-sponsored hacking groups to force you to divulge your algorithm.
Just because factorization is in P, does not mean that you'll have a fast, practical algorithm to actually do the factoring. The constants could be huge, the exponents could be huge. If your algorithm is, say, O(N^32), would it be of any use?
Not that much. I actually figure out how long the exponent could be on a polynomial time for SAT (if P=NP) and it was shockingly low.
I think if SAT was solvable in O(n^8) time, when n is the size of a compact encoding of the SAT problem, but it could really be reduced further, it would actually change much.
Time and again we have found that the exponent in polynomial algorithms can be later optimized to lower exponents. This has happened repeatedly in the history of CS.
Experts have for a long time recommended longer key sizes then 2048 bit RSA. According to "ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)" you need 128 bit symmetric security (about 3248-bit RSA) to protect encrypted messages until year 2042.
"In some applications, e.g. voting, legally binding signatures, protection of state secrets, etc, very high security levels may be needed. As discussed previously, it can be difficult to obtain and maintain such high security levels. Apart from the fact that non-technical issues, outside the scope of this report, tend to matter more, there is also a technical problem appearing. Namely, that is difficult to predict future cryptanalytic advances. "
"For confidentiality it may be more difficult to apply the security process thinking since once confidentiality is lost, it is gone forever. However, additional protection may be offered by multiple encryption, again using sufficiently “different” algorithms. The classical one-time-pad scheme may also be applicable to very high security levels, assuming the key management can be solved."
The most commonly used encryption depends on the computational infeasibility of quickly factoring the products of very large primes. Finding a vastly more efficient algorithm for such factorization would render huge swaths of the web, payment systems, etc. very vulnerable.
The real problems start to show up in legacy systems that didn't use forward secrecy, that is that secret information may now be disclosed. That and legacy systems that are going to be difficult to upgrade or patch as they are mostly not being updated or are very fragile to large updates like this.
While these legacy systems should not be directly exposed to the internet, with the number of exploits coming out you should expect they are still under high risk from attacks on compromised hosts inside the network. Worse these systems are typically not designed for things like zero trust networks so there may be billions of dollars of software and hardware that is no longer fit for purpose.
Cryptography relies on factoring large numbers being inefficient and hard. If anthropic has found a way to make it easy then encryption is trivial to defeat.
Crazy if true. Thankfully people have already been working about updating cryptography, though for "quantum safe" algorithms rather than traditional computers. Kind of funny if AI beats quantum to the punch. I wonder what impact this would have on quantum safe algorithms? Or is it just a matter of time before those fall too?
I don't think that follows automatically. What matters is the order of the polynomial. Primes is in P was proved around 25 years ago, but the order was 12 and then 6 and the algorithm is theoretically important, but cannot compete with Miller–Rabin for cryptographic applications. Being in P is a definition of tractability, not utility.
Isn't for all practicality any order over two bad for utilitary purpose? Means you should move away but not like it's a disaster of epic proportions and the world ends as we know it, like what is already happening.
In case anyone is wondering, the rumor is that someone is sitting on a proof integer factorization is in P. I'll believe that only when I see it though.
If you assume factoring is in P, what effect does that have on PKI? I don’t think there would be immediate implications for ECC? I’m sure people still use RSA, but to what extent?
Also, what would be the implication for quantum computing? I think that’s the canonical example of a non quantum problem with exponential speed up that is also practical. Are there any other current examples?
"Quantum Simulation", i.e. condensed matter, material science, really high-energy particle physics, and protein folding are the other "killer app" and are closer to reality than a quantum computer that can run "arithmetic" algorithms like Shor's. However AI (e.g. AlphaFold) has been providing disturbingly good advanced on that side too.
There are some other advantages to quantum technologies (sensing, some specific forms of secure communication, some forms of noise-resilience in networking) that are not to be discarded too.
Honestly, if factoring goes down the quantum industry is dead. It is the only useful algorithm with a known exponential speedup versus best known classical, everything else is just suggestive and involves a ton of hand waving. And like you said, any apparent quantum speedup tends to disappear for these other problems when enough attention and classical compute is brought in. If we solve factoring classicaly, there’s very little chance all those other problems don’t also have good-enough classical algorithms.
> If we solve factoring classicaly, there’s very little chance all those other problems don’t also have good-enough classical algorithms
Isn't it the exact opposite: if integer factoring is a weak problem, doesn't that mean other problems are likely to be harder?
Factoring has been known to be sketchy for decades; it's why people developed alternatives to RSA in the first place. If it falls into a non-galactic, practical classical algorithm, it would be big news but not break the universe of cryptography. So that doesn't say much about discrete logs.
Your broader point that quantum computers don't have much to offer here is entirely correct, though. Even the quantum factoring algorithms barely work.
Not following why factoring being easy would imply other quantum problems being harder. The entire field of quantum computing essentially sits on the stilts of Shor’s algorithm. It is the only clear end-to-end exponential algorithmic speedup. Because of this, people have conjectured that quantum computers would have exponential speedups for other problems too, but to date nothing else has reached the same clear utility as Shor’s. Other problems tend to fall into one of several categories:
1) modest polynomial speedups, like Grover’s algo, which also requires you prepare a quantum oracle. unclear if this ever beats a classical computer end to end for a practical problem
2) random circuit sampling (ie any claims of quantum “supremacy” to date), which solves no interesting problem
3) intrinsically quantum problems like Hamiltonian simulation for which it is unclear whether a QC actually has algorithmic advantage for interesting observables, as opposed to just being a good classical analog computer for solving such problems. These are exactly the problems that tend to fall to classical methods when sufficient compute and algorithmic advances are applied to them, and I suspect would fall especially quickly with AI assistance.
The fundamental problem is that once Shor was published, there has been a huge effort on the quantum side to figure out “what other problems can a QC solve?” but no incentive to press on the question of “but what if we applied a similar amount of effort on classical methods?” It doesn’t help that most of the problems studied in QC are somewhat niche and chosen specifically for how they play nice with QC, so there is little impetus to study them outside the community.
So, my thesis is this: if quantum’s one slam dunk advantage falls, all the other alleged advantages that came in its wake (but rest on much shakier ground) almost certainly fall too.
My prediction: factoring is in P, and Shor’s algorithm has been hinting that to us for decades. This magic algorithmic loophole that quantum physics seems to have found never sat right with me.
Handshakes have been ECDHE for years, but a lot of the identity layer underneath is still RSA, because nobody changes the defaults.
Take Kubernetes: as far as I know kubeadm generates the cluster's keys and certs as RSA-2048 unless you set encryptionAlgorithm, and the cluster CA is valid for 10 years by default. Similar story with cert-manager and Istio.
If you get fast factoring in P via discrete log algorithms, much like how Shor breaks RSA, then it breaks ECC at the same time, just like quantum breaks both via the same period finding speedups.
I think it is possible you get fast factoring but not the abelian HSP problem solved which is why I don't think there is any immediate implication. Like you say, Shor's works because it solves the abelian HSP problem by period finding on a finite (abelian) group. However, integers carry a lot more structure than elliptic curves so it's possible that additional structure gives us a polytime algorithm for factoring but not ECDLP.
This would be a bit odd in my view though not implausible mostly because I think it would be somewhat strange that the only arithmetic BQP problem with exponential speedup is somehow ECC and some of the related HSP problems, even more narrow than previously. I don't know if someone more well versed in BQP vs P might have a different opinion here.
Nvidia is getting slaughtered by China hawks promising a congressional massacre and you think AI labs would release something that would allow HNDL doomsday scenario to play out compromising US national security worse than anything else in history?
The answer to this depends if we see other nations, well particularly China, working on the same problems. We should assume if we can get an answer now, China would be less than 6 months away themselves. Just trying to cover up and hide this particular problem doesn't make the problem go away. Worse it leaves us less prepared to deal with the fallout that will occur.
And just because we have 'solutions' doesn't mean they won't be galactic in size and energy requirements, at least at first.
There isn’t any good reason to think PQC algorithms are safer against AI assisted advancements in algorithms. Personally I’d say they are more at risk by virtue of being newer and receiving less attention.
How likely is it to be the opposite, a game of telephone where some people at Google told their coworkers they're working on integer factorization, then they told somebody else they have a better factoring algorithm, then somebody else believed they meant a cryptographically-meaningful one, and then they emailed that to Scott who wrote a cryptic comment about it...
of course morons on HN are willing to believe AI solved P=NP without proof. They think it solved the Riemann hypothesis without any actual proof that the LLM didn't exploit lean, despite examples of LLMs exploiting lean.
There is lots of proof that the AI didn’t exploit Lean, not the least of which is that the proof passed multiple independent kernels, including kernels that themselves have lean proofs.
There is no proof that the AI didn't exploit lean otherwise, the proof would be 100% proven already. That's how proofs work. There is some evidence that because it passed multiple kernels then there's less of a chance of a multi-kernel potential exploit. At least you had a decent rebuttal unlike the downvoters.
Replies (15)
Replies (9)
In this situation I do not see any realistic option for a US lab that wouldn't involve engaging the NSA, and would be very surprised if this wasn't already the case.
Replies (3)
Replies (2)
all you need == phone jailbreaks == is sold on the open market.
Replies (1)
The NSA tried to regulate cryptography as a munition, capped everyone at 40 bits. They wanted everyone using basic RC4 keys that were known even then to be crackable with basic hardware. Then it was DES.
When Phil Zimmerman released PGP the NSA investigated him for FIVE YEARS. He only avoided conviction because he released the PGP source code as a printed book and didn't put it on the Internet. The Gov had to get sued because cryptography is free speech, and didn't drop the 'export restrictions' until 1999.
The NSA is not there to make YOUR signals secure... quite the opposite!
Replies (2)
Replies (1)
Continue this thread (1 replies) →
Also on my website I also have both of the Bernstein Decisions at https://cryptosystemsjournal.com/bernstein-decisions.html because it was the 1996 decision by Judge Patel that held "...source code is speech for the purpose of the First Amendment ..." and thereby is constitutionally protected.
Tony
But for factoring or discrete log specifically.. I don't care that much. You can try to keep it a secret if you want.
Replies (2)
What? This will render payment infra, private conversations, and more totally unviable. How is that a good world?
Replies (4)
It is viable, but might be difficult to imagine.
Just like elections - not everything needs to be computerized. Paper elections work fine, too.
Replies (4)
Continue this thread (3 replies) →
One envies the material position of a commenter that blithely accepts (or even awaits?) the largest economic shock of at least the century, if not longer. How impregnable the walls of his compound must be. How deep his stocks of food and fuel. How tightly the bonds of loyalty must tie his security forces to him, to keep their guns pointed outward in exchange for decimated currency.
It would be very bad.
Replies (5)
Continue this thread (2 replies) →
Na, not really.
Technological progress and privacy may be diametrically opposed at a fundamental level of reality. If that is the case the future of humanity is going to be really really messy.
We're already at the point that almost all metadata of who is contacting who is known. Knowing who contacted who at which times can start narrowing probabilities to the point that you no longer need exact answers. Get enough metadata and you might as well have actual data as you approach unity.
Continue this thread (1 replies) →
Replies (2)
Continue this thread (1 replies) →
One shudders to contemplate.
Replies (1)
That's still probably the best way to do it, but it's not going to be fun. If you see someone publish a factorization of the challenge number then it's time to drop everything and immediately stop using RSA, to the extent anyone hasn't already.
And then the question is whether the result generalizes to elliptic curves.
https://novaramedia.com/2026/11/24/anthropic-staff-openly-ta...
Replies (2)
I think if SAT was solvable in O(n^8) time, when n is the size of a compact encoding of the SAT problem, but it could really be reduced further, it would actually change much.
https://en.wikipedia.org/wiki/RSA_Factoring_Challenge
Experts have for a long time recommended longer key sizes then 2048 bit RSA. According to "ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)" you need 128 bit symmetric security (about 3248-bit RSA) to protect encrypted messages until year 2042.
https://cordis.europa.eu/docs/projects/cnect/6/216676/080/de...
Also from the report:
"In some applications, e.g. voting, legally binding signatures, protection of state secrets, etc, very high security levels may be needed. As discussed previously, it can be difficult to obtain and maintain such high security levels. Apart from the fact that non-technical issues, outside the scope of this report, tend to matter more, there is also a technical problem appearing. Namely, that is difficult to predict future cryptanalytic advances. "
"For confidentiality it may be more difficult to apply the security process thinking since once confidentiality is lost, it is gone forever. However, additional protection may be offered by multiple encryption, again using sufficiently “different” algorithms. The classical one-time-pad scheme may also be applicable to very high security levels, assuming the key management can be solved."
Replies (3)
Replies (2)
Replies (1)
Those products would be semi-primes. I didn't want to assume everyone would know what "semi-prime" meant.
Replies (1)
Replies (1)
https://www.geotrust.com/research/state-of-ssl
The real problems start to show up in legacy systems that didn't use forward secrecy, that is that secret information may now be disclosed. That and legacy systems that are going to be difficult to upgrade or patch as they are mostly not being updated or are very fragile to large updates like this.
While these legacy systems should not be directly exposed to the internet, with the number of exploits coming out you should expect they are still under high risk from attacks on compromised hosts inside the network. Worse these systems are typically not designed for things like zero trust networks so there may be billions of dollars of software and hardware that is no longer fit for purpose.
Replies (2)
Usually, there is not need to break the cryptography algs, their implementations are full of [intended] bugs, not to mention the apps built on them.
We all know here, "computer security" is a fantasy created by people who wants to sell you some deliverable.
Replies (1)
Replies (1)
Replies (3)
important clarification: RSA-style encryption
post-quantum encryption that do not rely on factoring have existed for some time but are not yet used everywhere
Replies (1)
Replies (2)
Replies (1)
Also, what would be the implication for quantum computing? I think that’s the canonical example of a non quantum problem with exponential speed up that is also practical. Are there any other current examples?
Replies (3)
There are some other advantages to quantum technologies (sensing, some specific forms of secure communication, some forms of noise-resilience in networking) that are not to be discarded too.
Replies (1)
Replies (1)
Isn't it the exact opposite: if integer factoring is a weak problem, doesn't that mean other problems are likely to be harder?
Factoring has been known to be sketchy for decades; it's why people developed alternatives to RSA in the first place. If it falls into a non-galactic, practical classical algorithm, it would be big news but not break the universe of cryptography. So that doesn't say much about discrete logs.
Your broader point that quantum computers don't have much to offer here is entirely correct, though. Even the quantum factoring algorithms barely work.
Replies (1)
1) modest polynomial speedups, like Grover’s algo, which also requires you prepare a quantum oracle. unclear if this ever beats a classical computer end to end for a practical problem
2) random circuit sampling (ie any claims of quantum “supremacy” to date), which solves no interesting problem
3) intrinsically quantum problems like Hamiltonian simulation for which it is unclear whether a QC actually has algorithmic advantage for interesting observables, as opposed to just being a good classical analog computer for solving such problems. These are exactly the problems that tend to fall to classical methods when sufficient compute and algorithmic advances are applied to them, and I suspect would fall especially quickly with AI assistance.
The fundamental problem is that once Shor was published, there has been a huge effort on the quantum side to figure out “what other problems can a QC solve?” but no incentive to press on the question of “but what if we applied a similar amount of effort on classical methods?” It doesn’t help that most of the problems studied in QC are somewhat niche and chosen specifically for how they play nice with QC, so there is little impetus to study them outside the community.
So, my thesis is this: if quantum’s one slam dunk advantage falls, all the other alleged advantages that came in its wake (but rest on much shakier ground) almost certainly fall too.
My prediction: factoring is in P, and Shor’s algorithm has been hinting that to us for decades. This magic algorithmic loophole that quantum physics seems to have found never sat right with me.
Continue this thread (1 replies) →
Replies (1)
This would be a bit odd in my view though not implausible mostly because I think it would be somewhat strange that the only arithmetic BQP problem with exponential speedup is somehow ECC and some of the related HSP problems, even more narrow than previously. I don't know if someone more well versed in BQP vs P might have a different opinion here.
did you... even read what you linked?
"haha I was half-expecting factoring to be in P" is very simple humor-stress-hope response that anyone can make
it's not even a rumor
Replies (2)
Replies (1)
Replies (1)
I mean, current algos are already "easier NP"
(yes I know, these are not mathematically rigorous descriptions)
Replies (2)
That would be imply P ≠ NP, which would be bigger news.
Replies (1)
Replies (1)
Replies (1)
Bubble sort existing doesn't mean that sorting is O(n^2)
(and I mean, your example is P with respect to problem space - but wrt to the number of binary digits it's O(2^(0.5*n)) )
Replies (1)
Replies (1)
And just because we have 'solutions' doesn't mean they won't be galactic in size and energy requirements, at least at first.
Replies (1)
Replies (1)
There's an infinity of source hashing to, say:
That's a very good reason to think that protocols can be built that could resist quantum attacks.Aren't Lamport signatures believed to be safe from QC?
Rumors swirling that labs might have cracked Factoring in P - https://news.ycombinator.com/item?id=50643065
Replies (1)
Replies (1)
Replies (2)
The proof could also have other faults that don’t rely on kernel exploits.
There is no proof that the AI didn't exploit lean otherwise, the proof would be 100% proven already. That's how proofs work. There is some evidence that because it passed multiple kernels then there's less of a chance of a multi-kernel potential exploit. At least you had a decent rebuttal unlike the downvoters.
Replies (1)