https://scottaaronson.blog/?p=10362#comment-2044495 , Scott Aaronson in a comment on his own blog: "I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone."
https://x.com/AndrewCurran_/status/2125589468786909510 , Andrew Curran on X, quote tweet: "Scott Aaronson on his blog [referring to the post above, includes screenshot]. I have also heard this. In fact, this rumor has persisted for about ten days, about both Anthropic and OpenAI. Considering how closely their recent math results have mirrored each other, if one has it, they probably both do. This would crack RSA."
https://x.com/aran_nayebi/status/2125596838120046846 , Aran Nayebi on X, quote posting the previous X: "Btw, this is the rumor I've been hearing as well for the past week, which is why the current factoring results were a bit of the let down, and may not be the full story:"
That's all you need, no need to follow the actual X links if you don't want to, they're just for citation purposes.
This tracks suspiciously with the governments suggesting a week or two back that we get ready for some downtime. A lot of people were worried that it was a subtle suggestion they were going to go to war, but possibly it's because prime-based encryption is broken with something at least semi-practical, in which case rather a lot of the people reading this can expect to miss Christmas this year as we do an emergency upgrade to elliptic-curve and post-quantum encryption post-haste. (Yes, this isn't about "quantum" but there's definitely some overlap here.)
I'll just describe it, since there isn't much more content than the headline:
It's a link to a Reddit thread with the subject above, showing a screen shot from some forum with a comment supposedly from Scott Aaronson saying that big labs are "sitting on" some result they discovered relating to factoring complexity.
Then a bunch of comments that you can probably generate in your mind, that add no more information.
Indeed, and optimization, statistics, machine-learning theory, and numerical analysis was also less than 1% instead of the maths literature average of ~20%.
That is not as relevant a factor as the specific commercial and technical relevance of those fields to the work openai is doing. They would be very highly incentivized to answer qs in those fields, and incentivized to keep them secret
Things that could help breaking cryptography are some of the most aggressively studied, I'm not sure how suspicious it was (although I could see the government pressuring to not release even lesser results in the field).
Anthropic factored RSA-896 a couple of months ago (https://saweis.net/posts/rsa-896.html). They used existing methods and stressed that they didn't find a more efficient approach to factoring (maybe true, maybe not...). It does show however that they are at least looking at the problem and willing to throw substantial computing power at it. Perhaps they have had a breakthrough.
Seems like it's time to improve encryption. Now that computers are 10/100x more powerful than the 90s, it seems obvious to me that we should wrap messages in multiple entirely independent encryption schemes (e.g. elliptic curves).
Same, and I've been doing exactly that for my personal tools for many years. I've been surprised at the willingness of supposedly security-conscious people to put all their eggs in one basket, and indeed often even outright hostility at the idea of it, attacking as an entirely futile waste of effort.
I agree, I think in a lot of cases it would make sense, as a safeguard, but you need to be aware of the risks of doing it.
There are several ways in which the two layers can end up not being completely independent from each other, and either the breakage of one leads to breaking the other, or their combination breaks both.
A lot of people would dumbly even use the same key in both algorithms, but it's also easy for the two keys to be correlated, when generated together, for problems in each algorithm's implementation (such as non constant operations) to help with breaking both, etc.
Good idea, especially if we cant prove which encryption algorithms are definitely not in P. Outside of proving P=NP, finding a single algorithmic flaw or new math technique that breaks all encryption shouldn’t be possible.
More like 3 weeks if you are running Ubuntu…. Given their recent handling of the kernel, I don’t want to wait for this be the latest reason to migrate my servers to Debian.
More seriously, this will not get rolled out universally in three days. Embedded systems cannot be upgraded on a whim, if at all. This stuff is everywhere and cannot be trivially patched to add post-quantum algorithms.
The radius of the fallout could make the recent vulnerability apocalypse feel like a non-event by comparison.
Maybe the large-scale, web-oriented, fully staffed services would temporarily shut down and roll it out quickly. In reality, even an apocalyptic event like this would take months to resolve, it would be an absolute disaster.
Big problem with post quantum crypto is that we kind of don't know if it is actually working. Is there some mistake which we don't see but make it easily breakable? Elliptical curves have a lot of setup variables where a mistake will break the whole asymetric encryption magic into pieces. PQ crypto is much more fragile in this regard.
Very likely elliptical curves as well. Factoring and logarithms are effectively same problem and you can also see it in i.e. Pollards Rho being developed for factoring and then bent for logarithms.
Factoring is closely related to discrete logarithm problems in unit groups of finite fields. It isn't really related to the discrete logarithm problems in the elliptic curve groups used in cryptography. This is why, at least publically, factoring is subexponential and the elliptic curve DLP is still exponential. So an independent breakthrough would likely be needed to break elliptic curve cryptography.
Where do elliptic curve groups fall in the classification of finite groups? Could there hypothetically be an isomorphism between them and a product of modulo groups?
The points of an elliptic curve over a finite field form a finite abelian group, so yes, there is always such an isomorphism. But computing the isomorphism is equivalent to solving the discrete logarithm problem so the existence of such an isomorphism doesn't help you at all.
It wouldn't surprise me if the rumours are being spread to promote AI companies (or at least investment in them). Of course, merely being in P doesn't necessarily mean that it's computationally feasible, but I guess that once a technique is discovered, it could be later improved.
Well, having some good results certainly gives validity to the hype, but doesn't mean that all hype is true. My problem is that AI companies are not in any way benign and I certainly don't trust them.
Yeah that's not orthogonal to them being able to figure this out. They can be untrustworthy by recklessly developing advanced technology that kills us all.
Even if it's galactic they might want to understand how it works before releasing it. They might fear that the bounds could go down quickly with further work.
If such a finding is announced, and if factoring in P is feasible beyond the nation-state level, I wonder whether the U.S. government could invoke the Defense Production Act and other emergency powers to essentially commandeer the AI companies' compute capacity to address the crisis that would occur.
If that's a possible outcome, maybe it's in the AI companies' best interest to keep it as quiet as possible for as long as possible.
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.
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.
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.
> 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.
> 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.
Why would the government need to compel a solution that the market would already be immediately demanding and ready to pay huge sums of money to resolve?
You’re explaining the incentive to prevent an algorithm from becoming public knowledge, not the incentive to clean up whatever happens in the wake of such an event.
Visions of Y2K remediation budgets dance through my head…
I see your point—it’s the prospect for catastrophic breakdown / suddenness, not just the obsolescence, that elevates it to a national-security-scale problem.
But in a world where the US public health enterprise has approximately the budget of some large hospitals [0]… I have to imagine the national role would be constrained to buying a little time for a transition, apportioning legal lines of liability, and establishing norms and standards for “what’s next.” And then, yes, leaving the implementation gruntwork for the free market to bear…
If you're restricting yourself to ASCII, I think using C syntax on a website called Hacker News is reasonable. Otherwise, you've got <>, ~=, /=, =/=, or \neq.
The intersection of "people who have even the vaguest understanding of P and NP" and "people who aren't familiar and comfortable with != notation" is probably zero.
> Because modern crypto works based on p!= np, and that any remotely usable proof would risk breaking it.
Not really. Symmetric crypto won't be affected by P=NP. From the information theory perspective, when you encrypt a plaintext N bits of length with a key N_K bit of length, you end up with a ciphertext of N bits of length. Then you send that ciphertext to the other party.
That N encrypted bits have _less_ information than N+N_K, there's no generic fundamental way to reconstruct the key faster than by exhaustive search. All the past attacks on symmetric crypto involve key leakage through known plaintexts, padding, etc.
This requires a shared secret to be present in the first place, which is not always an option. Secret generation using asymmetric crypto moves you back to the square one - a need for a vulnerability analysis.
There is your answer. The government can afford it, so the private sector will demand it. Except of course that the work to actually migrate to whatever the new thing is will not be work the government can fund except via tax breaks.
Maybe, but once people know for a fact that it is feasible, independent discoveries will just happen. Once other countries' geniuses know with certainty that factoring in P is feasible, it's only a matter of time before they figure it out. Something about removing the cloud of uncertainty makes our meat brains a lot more likely to find a solution.
I feel like this is because once there is known treasure, everyone races out the door with their shovel to go find it. So in essence, the effort to go find this will go up exponentially, and some people will have added will to do so.
I don't think it's that simple, at least not in my experience, because the amount of effort is often not the difference between solving and not solving a problem. It's another side to the phenomenon where math students are given an unsolved math problem for homework (or mistake one for homework), not told that it's unsolved, and then produce a solution. Because it's homework, they assume a solution exists and is known.
Something happens to our brains when certainty is introduced. The same effort becomes a lot more effective.
I really don't think any crisis would occur. Hundreds of millions of dollars that wouldn't have otherwise been spent would go to a transition; and, it'd be a stimulus for some sectors of the technology industry. That's about it.
Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.
Right, but I'm comparing now to a time where there simply wasn't any encryption to speak of. A teenager could attach a packet sniffer to the Internet backbone, in effect, and that happened multiple times. Then as now the real vectors for attacks were exploits and social engineering.
B) be interested in exploiting it (both because the ramifications are more widely understood and because the world has come to depend on encryption being infallible, so there are bigger pots of gold to find)
C) be able to exploit it with an llm
You know it's a funnel, more input at the top and so on
Comparatively little of our economic activity was over the internet in the pre-cryptography era, though. Is that really what you're saying? That we could go back to a pre-cryptographic era and it wouldn't matter?
Yeah this is similar to saying, "we lived for a long time without electricity. I don't think it would be a huge deal if everyone lost electricity for a few weeks".
I mean, the internet is communications, not power. If we were to ever be forced back into an untrusted internet (such as if ALL cryptography were to fall), the short-term ramifications would be disastrous across most systems in society. However, while tech companies are working hard to make this less true, many crucial systems still have fallbacks or can continue to function without the internet. Hospitals, factories, power generation will probably experience disruptions but on average continue working. Logistics would be the hardest hit, which would cause many deaths. But losing internet = some/many things go down (and there is a way to revert to how they worked pre-internet, even if it's painful and inefficient), losing electricity = everything goes down, it's a whole other level of disaster.
it's impossible for all cryptography to fail, OTPs will always be secure, it just becomes hard logistically and harder to use but OTP is mathematically never gonna break
People do lose electricity for weeks or more, during and after major storms. Even in the wealthiest nation in human history: consider the case of Hurricane Maria, after which most of Puerto Rico lived without power for months (or longer, in pockets). [0]
It’s no fun, and there are definitely bad side effects (which can be mitigated somewhat through solid advance planning—authorities tend to think about backup power for medical devices, for example).
But a mass exigency stimulates an awful lot of humans to feel invested in pitching in a little to get back to normal. Best, always, to avoid the situation—but we don’t lose our collective ingenuity once we find ourselves in it.
I’m reminded of stories from the wilder-and-woolier days of banking systems: hyperinflation or bank runs or currency debasement would lead to workarounds like local IOUs, tight-but-temporary withdrawal limits, barter and mutual aid…
Heck, cryptographically secure payment cards are only, what, a decade or so into widespread use in the US? [1] For decades we literally embossed on the front of the credit card everything you needed to charge it…
I'm not just talking about the pre-cryptography era; I'm talking about the long period in which virtually all deployed cryptography was grievously vulnerable, far more so than it will be to any plausible factoring-in-P-type attack.
Ah, I see - I focused on the pre-crypto point but it sounds like you're making the point that a similar re-deployment of crypto has happened before and it wasn't that disruptive.
It’s a silly argument - there were several of magnitudes fewer systems and people online. I’m not sure banking and financial systems could handle a mass scale undermining of the core internet cryptography.
Can you explain in more detail/point to references? Genuinely curious - I would have thought that public cryptographic protocols being easily broken would have caused constant chaos in the Internet age and wondering why that didn't seem to actually be the case.
What period was it? Secure internet connection basically didn't exist until 1999, and by the time TLS 1.0 was found insecure, 1.1 already had wide support. Same with 1.1->1.2 transition.
Why does that matter though? The exploits had to first be found. If now we have so many vulnerable systems online, bot farms will run rampant. Especially, in a time of war. Now is not the same times as back then.
Well, how about 10B people signing their own bootloaders and getting mainline linux on their phones to make all the neo-Stasi surveillance states collapse in blindness?
RSA is to be deprecated from 2030 and retired from use by 2035. This would have to be expedited.
Presumably the already available elliptic curve algorithms would still be available and are the easiest first step. The second step would be to change to the post-quantum algorithms required in 2035 and beyond. There is also the possibility of moving to authentication and key agreement using symmetric cryptography and shared secrets, either peer-to-peer (like ATM PINs) or via central directories (like Kerberos).
The biggest pain point is likely to be securing embedded systems which use RSA and cannot be easily updated. Browser or smartphone app to server applications are much more easily secured.
For some uses of RSA there is also the problem that messages which have been captured and stored may be retroactively broken.
AIUI They are both conjectured to be equivalent to the Discrete Logarithm Problem. It is of course possible that you've found a way to attack one but not the other, but typically it's a two-for-one.
They are, but advances on one side have in the past helped on the other side as well. There is a version of Pollard's rho for each system, and there are parallels between the number field sieve for integer factorisation vs function field sieve for discrete logarithms
More fundamentally though, both systems rest on the assumption that a long unsolved mathematical problem will remain unsolved. That seems a questionable assumption in the LLM era
They are both instances of the more general Hidden Subgroup Problem [1] which is what the quantum algorithm, Shor's algorithm, solves. That is why quantum computers would break both RSA and ECC. However, it is possible that improvements may only be made on the specific instances rather than on the underlying problem if we are not considering quantum computers.
They are not related directly and there is even an exponential lower bound for dlog in idealised groups. The problem is we can't I stantiate such group. It's not clear that improvement on factoring would yield direct improvement on index calculus.
To quantum attacks, yes. To AI algorithmic advances, not necessarily. If we did a fire drill transition, it'd be to MLKEM, that's true, but it wouldn't necessarily (or even likely) be the case that ECDLP is threatened.
The fact there's rumors means the NSA is almost certinally investigating, they scan the internet for things they regard as a security threat.
So if real, it won't get released publicly (lest someone goes to jail).
Later, the Chinese labs with their AI will crack it and their government/spy agencies will get the crack.
Hopefully this doesn't get used as an excuse to hold back frontier AI, but some day ordinary researchers will probably be able to use open models to pull something like this off.
Presumably if the NSA is aware of a way to break RSA, the NSA is also capable of then MITMing anyone who would publish such a finding without their blessing and placing plenty of highly illegal files into their HTTP traffic that get saved to disk.
I don't know what you're talking about here, but if you break RSA, you can publish your break on Twitter or on Pastebin or Gist or whatever; nothing is going to happen to you. Publishing vulnerabilities is not illegal.
You can't independently reinvent classified information. If NSA breaks FEAL8 in a new and exciting way and classifies it, and you independently come up with the same break, your break is not classified. The only exception I'm aware of is the atomic secrets stuff.
We lived with DES for decades, so whatever. It will annoy people in charge of compliance who will annoy developers who will annoy compliance people who will..
There is a tendency in tech circles to view technology, laws, economics like actual laws that rule the behavior of a mechanical society. A lot of past and recent doomerism arises from that misconception.
EC isn’t that far off factorization mathematically. Both are the abelian subgroup problem restated in different ways.
Yes we’ve needed more bits for RSA than EC for a long time now since congruence of squares allowed a sigificant improvement that we never knew how to replicate for EC but if factoring is P the i’d be very concerned about the closely related EC algs too.
Really? You think this administration and it's appointees and preferred leaders in each of these agencies is competent enough to manage this appropriately?
Most of the "good people" have left and that includes capable people with integrity.
I think AI companies like Anthropic would actually prefer to solve this specifically so they can clamp down on open models and heavily regulate compute (in their favour..).
Given how little Chinese models in particular are lagging behind their US counterparts, this would do nothing for them, as open alternatives would be everywhere. Incentive to use something non antropic would only rose.
It actually isn't that big of a deal, no need for breathless panicking headlines. Most high value targets are already protected by much stronger cryptography methods, and many places are moving into post-quantum crypto so even a Q-Day type event won't mean the end of digital society. Cloudflare, which protects most of the internet, is already making great strides here.
It will be a nothingburger, not a crisis. There will be some Y2K style transitioning here and there, but after a year we'll be looking back and laughing at the quaint cryptography methods from the old days. Naive.
I'm surprised the facilities running these experiments aren't being monitored by heavily armed guards instead of happening willy nilly at pump and dump for profit but not profitable companies. A hostile nation would pay so much money for even pieces of this kind of information. Sometimes I wonder if there are any adults in the room...
I don't know if the current admin understands this well enough to make that judgement and move.
I also don't know if current AI CEOs would dislike this outcome as they could be regulatory captured by an incredibly corporate friendly admin and kill competition and funding issues.
Lol @ "current admin". What admin in history understands tech enough to understand this? Complete abysmal lack of understanding of the fundamentals of tech is a true bipartisan issue
Edit: I forgot al gore invented the internet so maybe he's an exception
Factoring in P does not mean anything for any concrete solution algorithm. Could be that we have a proof but no algorithm. Could be that we have an algorithm on paper, but the powers and constants are so large that it means nothing, i.e. it performs worse than non-P algorithms for all practical problem sizes in the universe. And this is not a silly extreme example, it happens. BigO complexity means that an algorithm will win (considering abstract compute only, no memory etc) after a given problem size. But the breakeven point might be so large that it's never used!
That's true for most wallets these days, but Satoshi's (presumed) coins are stored at P2PK outputs, not P2PKH. The public keys are already publicly available on the block chain, without being hashed.
The only line of defense there is ECDSA / secp256k1.
IF bitcoin could be cracked, bad actors would target smaller wallets and quietly sell, rather than bring attention to the vulnerability and cause bitcoin to go to zero .
as a retort to this very good point, i would also like to point out that being motivated by 'chaos' is a relative statement too and may not necessarily be quantified as 'being a BAD actor' also.
“One bad actor motivated by X” does not mean “everyone motivated by X is a bad actor”, just like “one baker motivated by money” does not mean “everyone motivated by money is a baker”.
Furthermore, “bad actor” does not mean “evil person in all walks of life”, it just means someone with the ability and willingness to cause harm in a particular situation. Or Tommy Wiseau (this is a joke).
No, that's key exchange. So while this means a passive eavesdropper can't decode it with a known algorithm on a quantum computer, the certificate private key used for authentication (the website's "who am I") still relies on RSA. If nothing else, then by the root certs.
Key exchange is pretty much rolled out. Certs almost not at all. Sure, you can switch your server cert to elliptic curve, but it'll still be signed by an RSA root cert. (or could be, for impersonation)
But also note that P=NP is not the same thing as PQC. Not exactly. A cryptographically relevant quantum computer can break factorization-based crypto, but the rumoured proof is that factoring isn't even in NP (or P is indeed NP).
If RSA is broken, wouldn't browser and smartphone app security logic be changed to not trust any authentication protocol exchange and cert signature using the RSA algorithm?
All RSA algorithms would join RSA < 2048 bits, Diffie Helman < 2048 bits and the other algorithms for symmetric encryption, hashing and key exchange/signatures that were once used by TLS/SSL but are no longer trusted.
I agree, I was just responding to the narrow question of whether factorization is in NP. To talk about that you have to phrase it as a decision problem, eg, “Does N have a prime factor between 2 and k?” To be in NP, a “yes” response should come with a certificate that’s checkable in polynomial time. So the certificate here would a prime factor. We can check in polynomial time that it’s a divisor, and that it’s prime. But also yes I agree that simply exhibiting ANY factor under shows that N has a prime factor under k, so PRIMES being in P isn’t required for factorization to be in NP.
P = NP with a practical algorithm (low exponent) does break all PQC because all PQC algorithms are in NP because they all have polynomial checkable certificates
Could this be dowstream from GRH? Like, if you found a neat way to sample primes (which I understand is the consequence), I guess you could O(lg n) your way out of the problem of factorization. Happy to be corrected
Unlikely. There’s already a ton of algebraic number theory work that has been done assuming GRH is true, so it’s not like there’s a bunch of immediate consequences of GRH that haven’t already been explored
But what if the proof of GRH produced some novel intermediate results that turn out to be useful for doing polynomial prime factoring? That could explain why this is happening shortly after that proof was released.
(Software engineer with a BS in math. Happy to be corrected too!)
I don't think so. The best-known algorithmic consequence of GRH is that it makes the deterministic version of Miller–Rabin (the Miller test) provably correct [1]. That result isn't even ground-breaking: we've had a deterministic polynomial-time primality test since 2002 [2]. But more the the point, primality tests don't help with factoring. They only tell you whether N is prime or composite. But if N turns out to be composite, primality tests don't tell you _which_ primes divide N. No known factoring algorithm reaches polynomial time even assuming GRH.
If you're trying to understand what RH is about, here's a rough analogy. Treat the number of primes below N as if it were a random quantity that follows a bell curve. We've known for a long time what the mean (middle) of the bell is: roughly N/ln(N) [3]. What we didn't know was what the variance (width) of the bell is. RH says the bell curve is as narrow as it can possibly be: roughly √N times a log factor.
Unfortunately, I don't think I can make the above analogy more precise without introducing a lot more mathematics.
I actually imagined something more-or-less opposite of what you suggested. What I originally had in mind is that GRH helped with a closed form expression for all primes, like f(1)=2, f(2)=3 etc. This would allow you to generate potential candidates for n and e quickly, which you could then presumably also test quickly.
Suppose you had the ability to get the kth prime in constant time. The number of primes below x is roughly x/log(x) by PNT so for b bits it’s 2^b/log(2^b) = 2^b / b. Thus you would have to check exponentially many divisors. You can reduce this by only checking up to sqrt(x) but this would still be exponential in the number of bits.
Naively, this is why getting a function for the next prime doesn’t lead immediately to factoring in P, the proposal doesn’t work without significantly more ideas to improve the factoring.
When a disproof of such a famous and well-posed problem remains out of reach for generations, believing that one outcome is much more likely than the alternative is more of a personal opinion than something grounded in evidence.
I like to think that P=NP, because it says things that are currently impossible might not be. And the implications could be greatly empowering for science. But alas, it could be false.
For the sake of a thought experiment, let's assume standard encryption is no longer safe...
As others have noted, people have been storing tons of encrypted packets waiting for the day they can break this.
What does that mean?
Basically every online service needs to go down until there's a new solution?
Would most old non-2fa accounts - practically speaking - need to be thrown out, as there would be no way to know who it belonged to?
One would assume that trying to keep Pandora's Box shut for too long is not really possible, and if something of this magnitude is out there, it's only a matter of time until it gets into the wrong hands.
Are you confident that post-quantum encryption cannot also be broken? Either by the current generation of models, or their successors, given the current rate of apparent advancement?
Yes, even a quantum computer with millions and millions of qubits would need billions of years.
Also llms can hardly center a div 50% of the time I ask them to. Im not worried about this. Im more worried for all the humans who are one-shot by llms screwing up the world
I think the concern is more that there's a flaw in the algorithm. Eg Mythos was used to find a flaw in HAWK which was one of the candidate algorithms in NIST's standardisation process.
I think NP-complete encryption exists. It would be a huge deal if P = NP, and an even more huge deal if the exponent is small. It would not only break encryption but also make loads of impractical problems practical.
OTOH, if the exponent is large, factorization in P might not change much. When primality was discovered to be in P, the first exponent proven was 12. That was later lowered substantially, but with an exponent of 12 the RSA key would need on the order of 5000 trillion trillion trillion operations, which I think is still infeasible.
Theoretical computer science is about the worst-case which is misleading when it comes to practice. SAT is NP-complete, with the best known algorithm running in 2^n time, yet in practice it is solved on instances with tens of millions of variables.
While it is possible to use RSA for encryption, I am not aware of any widespread application that uses RSA for this purpose.
The main application of RSA is in digital signatures, e.g. in the certificates used to authenticate servers and clients, not in any encryption algorithms.
Breaking RSA would allow future bypasses of the authentication procedures, but it would have a negligible effect for the safety of past encrypted communications.
> people have been storing tons of encrypted packets waiting for the day they can break this.
I think this would only work before forward secrecy became common. So probably the last 10ish years are safe, but if various actors were storing from before then I think those comms could be broken.
Non-quantum forward secrecy algorithms are unfortunately broken by quantum computers/Shor's algorithm/etc (and some are probably broken by factoring in P).
Prob gets real ugly if they tell gov't first, gov't would want to take advantage of it for a bit before releasing, but may take too long + red tape + threat of nat sec. You may get other countries catching up to the possibility.
Because miners are selling instead of HODLing at the same time retail demand is down 20-30% at the same time everything Tether invested in besides Treasuries is falling?
Signing up for an online service becomes like joining a clandestine torrent tracker where you have to meet up in person. Internet becomes tower of babel-style bunch of small, diconnected networks. Nbd.
Practically speaking, it seems unlikely that absolutely everything is saved due to storage space. If I were the one doing the saving, I would focus on high-importance traffic that is likely to have a decently high signal-to-noise ratio. That means that smaller, unimportant websites may get away with forcing users to authenticate through email, pushing the burden of proper authentication up to the email providers. Larger services will need to resort to more radical measures, such as refusing to log anyone in and only leaving people with an active session, or only allowing logins from the same IP or geographical area as before and cutting the losses on all other 'lost' accounts.
I wouldn't be so sure. Global, annual internet traffic is in the single-digits zettabyte scale, which could be reduced by an order of magnitude if you skipped data that looked like video streaming from a CDN. That looks like a couple billion dollars per year, which for state actors isn't completely insane. I wouldn't be shocked if the NSA and whatever China's intelligence is called both have a significant chunk of all traffic saved.
Could that level of retention be perceptible from the outside due to the disproportionate spending and enormous orders for storage makers taking up a noticeable chunk of global manufacturing capacity?
> For the sake of a thought experiment, let's assume standard encryption is no longer safe...
For the sake of a thought experiment, let's assume the Rocky Mountains are made of lead azide...
> What does that mean?
Basically everybody should stop walking, talking, breathing - there should be complete motionless silence at all times, that would be a lot more important than some useless algorithms. The question is, when do we start implementing the policies of complete silence? Obviously, it should be before any measures regarding algorithms - because of the much higher importance of the new "thought experiment".
There's only one conclusion, if we're going to play chicken little, it's better to do it using the case of explosive Rockies rather than some unimportant algorithmic problems.
Breaking RSA is irrelevant for decrypting the tons of stored encrypted packets.
RSA has been used almost exclusively for digital signatures, i.e. for the certificates used to authenticate servers and sometimes also clients.
The key exchange was done in the early years of Internet mostly with classic Diffie-Hellman, but more recently with the elliptic curve variant of Diffie-Hellman.
For any stored encrypted communications, what is needed is not breaking RSA, but breaking the elliptic curve variant of Diffie-Hellman. A few of the stored encrypted communications may have used pre-shared secret keys instead of elliptic-curve DH, and those would continue to remain impossible to decrypt.
Breaking RSA would be useful only for the future, e.g. by creating fake servers that impersonate some existing important servers, or if there are sites where clients are authenticated with RSA-based certificates, breaking RSA would allow attackers to login there. If RSA-based authentication is used with SSH, such SSH servers would be vulnerable to malicious logins.
What I'd be worried about is files encrypted with gpg using a public RSA key. From what I've read that works by using RSA for encryption to encrypt a random symmetric key that is used to encrypt the file.
They changed the default to elliptic curves instead of RSA in something like 2021 but there is a lot of stuff out there that was encrypted before that.
> let's assume standard encryption is no longer safe
Encryption or cryptography?
AES isn't falling. SHA-2 and SHA-3 are not falling. Only asymmetric key cryptography is (basically RSA but also impliedly ECC since prime number factorization is equivalent to the discrete logarithm problem). Post-quantum asymmetric key cryptography would still be standing, but PQC is only deployed for key exchange, not for signatures (authentication).
So standard cryptography would be in serious trouble, but standard encryption would not be.
Is ECC in any immediate danger? I don’t know (and I am pretty skeptical) if you can actually always embed an elliptic curve group in some finite field? That seems odd?
> basically RSA but also impliedly ECC since prime number factorization is equivalent to the discrete logarithm problem
Dicrete logarithms and prime factorization are both instances of a more general problem, the hidden subgroup problem. But they are not known to be equivalent: even given an oracle that can tell you the prime factors of any integer, we don't have a classical algorithm that could efficiently compute discrete logarithms, or vice versa.
So, as far as we currently know, it's possible to find an efficient classical algorithm for breaking RSA but not ECC. Of course, it's also possible that there exists an efficient classical algorithm that solves the general hidden subgroup problem, like a classical equivalent of Shor's algorithm, and then both RSA and ECC fall together - it's just not a given.
But even if they are "equivalent" that could mean we find an algorithm for factorization that is O(n^10) and an algorithm for converting DLP to factoring that is O(n^1000).
While it's in the realm of feasibility that a mathematical breakthrough like this could happen, remember that there have been rumors cycles about AI breaking encryption like this since the days of OpenAI Q* in 2023.
We've been seeing a lot of things get solved, but what makes factoring different is it's simple in principle and has been looked at millennia. On the other hand, they might have stumbled across something working on RH.
Imo, the big thing was RH proof, which is gigabytes of lean code.
Many other were not really "solved", but AI found corner-case counterexamples for obscure hypothesis someone named "Millennial", and which didn't produce visible impact.
There has been a huge dump of proofs of problems that mathematicians had worked on for decades at least in the last few days. Maybe you haven't read the latest news, but OAI proved that n x n matrix multiplication is O(n^9/4) (and also has an O(n^(9/4+epsilon)) algorithm, though not of practical use). They've also proved a bunch of other less well known to us laymen, and more complex to explain, problems, such as VP != VNP.
We're talking about a series of problems that are in the same expected range of difficulty of p vs np, and also some of them are directly related. The point is your gut instinct needs to be recalibrated for what the models have been doing
can we stuff this entire scene into the high school cafeteria it resembles and then launch it into fucking space? discussions about reddit posts about blog comments about rumors
Bringing down the net would be an excellent result for humanity. Maybe it will result in a few million deaths, but that isn't much compared to the 100% fatality rate the AI labs are racing for with their RSI ambitions. People will start to take the threat seriously while it's still possible to avert it.
It would be nice if we could somehow agree to prevent the AI labs from committing the ultimate murder-suicide without the need for any additional destruction, but I don't see any realistic way of that happening. Look at how the response to the COVID pandemic was bungled to see how good we are at large-scale coordination problems. Some survivors are better than none.
It's obviously impossible for any human to say exactly how something super-intelligent will act, as we are not super-intelligent. But it's also obvious that something super-intelligent has no practical use for biological life. Biological life needs resources to survive, so any unbounded goal that does not explicitly preserve life requires all life to end. As Eliezer Yudkowsky put it: "The AI does not hate you, nor does it love you, but you are made out of atoms which it can use for something else." Goals that end all life are simpler and more numerous than the ones that allow life to continue, so lacking any strong safeguards (which nobody is making any serious attempt to implement) they will be attempted first.
Integer factoring is in NP and coNP so, unless P=NP, factoring is not NP-Complete [0].
That is, integer factoring has a decidable, deterministic, "is this number (only) a prime", 'yes' and 'no' variant. Deciding whether it's composite doesn't mean you're given the divisor.
If P=NP, then integer factoring is in P trivially, because the polynomial hierarchy collapses, but the other way doesn't hold. To be clear, I think there's essentially no chance P=NP.
I think it was postulated that by Feb 2026 it would be proven - whether that means reasonably solvable is another thing - given that this is "under wraps" my guess would be if it is solved it would be that it is reasonably solvable.
"Rumors swirling"? And it's a reddit post with a screenshot of someone's tweet with a screenshot of someone's forum (?) comment? Is this really frontpage material?
Sure, and I've heard that LLMs have invented FTL travel and are just about to reverse entropy. It's on the grapevine so it's 100% real. Please theorize about the ramifications of these real discoveries in the replies.
FTL travel would br huge for space exploration! But it would throw NASA into a wreck as their resources are currently focused on a Lunar station, which would be largely obsolete with FTL travel unlocking quick access to much more useful worlds in our solar system.
I'm currently buying FTL-X stocks as they're about to skyrocket. I'll use the earnings to open the first hotel on Titan in 6 months time!
> I do not wish to be responsible for spreading unverified rumors. And I worry that exact statements of what was done may have been mangled in a game of Telephone.
If a message's veracity is intrinsically linked to the messenger, this may not be the place for you. If you want to dismiss it, at least do it on the merits, not meta-merits.
You want us to evaluate the “merits” of an unsubstantiated rumor circulated via Reddit? What does that even mean? We literally have zero information on this beyond the rumor itself.
Agreed. The comment sibling comment above literally trying to boost its credibility by saying it came from Scott Aaronson. If we stripped the messenger ENTIRELY, all we'd be left with is this statement floating in absolute void: "AI labs are sitting on catastrophically fast factoring algorithms". If I read this anywhere online, I'd assume it's some crackpottery and move on.
we had similar rumors post pre-navier stokes. I believe it was that rumor that caused openai to in fact solve it.
Maybe now they hear these and break RSA who knows, crazy times.
aren't we already starting to move beyond RSA for encryption anyway, using lattice problems instead of factoring?
This would obviously speed up that process but we've already accepted that RSA/D-H/etc will ultimately be unsafe (have been cracked with quantum computers)
A lot of the factoring and algorithmic results announced recently have been "galactic algorithms". Algorithms that have a desirable asymptotic time but with a constant so large no one will implement them.
So even if they know factoring an arbitrary number in polynomial time, it might not matter. For example, the time could be O(X^100) with a constant of 10^(10^(10^10)).
I was just discussing factoring with a relative last weekend. We were considering using 3SAT or something similar on binary multiplication circuits. I know 3SAT is not polynomial but there are good solvers available.
We've got hacked fridges, impersonation abilities, network degradation, deleting software while trying to fix it, breaking out of its sandbox, autonomous coding, autonomous hacking (into the fridges), RSI, and now maybe breaking encryption.
> But my laundry machine is getting pwned and reprogrammed to stop playing that annoying final song.
But that song cuts through the air like a knife and can even wake me up from a nap so I know when it's done from across the house! As someone with a non-connected machine, I will never give up that song!
Oh my god. So many "smart" bullshit devices, suddenly all unlockable. Flashable microcontrollers everywhere in otherwise top notch hardware. This would become tinkerers' golden age.
Please, have an evidentiary standard. Right now all you have is a 4th hand rumor, the kind of which has circulated since the dawn of applied crypography. If either of these companies broke RSA, I'm pretty sure the secret services would be in the know long before us, and they'd make sure there would be no loose ends to tell any rumors. Before even reposting this, just wait 7 days for more info on this story as more people speak out about it. If it's not in the news by then, it's probably fake.
You think the NSA can force these companies to keep the lid on this? Too many excited people craving the 15 seconds of attention they would get for telling the world. Meanwhile if one AI co. can do this whose government can arm-twist it into secrecy, so can another that the same government can't. Once anyone knows this truth, whatever it is, the knowledge can't be kept from the rest of the world because it's bound to be the case that others soon figure it out too.
If your theorem machine already publicly solved Riemann, you no longer get the choice to claim those 15 minutes of fame. You'd already be on constant monitoring by agents embedded in your org, and should you get a single word out to anyone, you'd mysteriously commit a suicide in your flat, along with whoever you told it to.
The lab would obviously not release that publicly, given the irresponsibility of doing so.
Assuming it's in the US, the NSA would receive the first call.
And then the NSA would simultaneously be (a) operationalizing an attack and (b) approaching other government agencies in order of priority to either disconnect or restrict encryption to post-quantum schemes.
The attack could potentially be kept under wraps. Uniformed personnel, etc.
The defense would begin to trickle out in the form of rumors, as {random government IT person} gets asked about upgrading {random government system} to PQC.
And all of this in the context of the government, over the last 2+ years, increasingly urging the public to move to PQC.
F.ex. the NIST/HHS/CMS conference earlier this year
There's a big difference between irresponsibly dumping proofs into the math community and infosec critical work, for companies that have assets reachable by the US government.
Tbf, we have never seen such an apocalyptic torrent of groundbreaking mathematical discoveries. Not just since the dawn of applied cryptography, but since the dawn of mankind. Factoring in polynomial time would be, like, one of the less amazing discoveries in the past weeks from a mathematical perspective. After all, we've known for 30 years that RSA is broken on quantum computers. To mathematicians, this is more of an "eh, who cares" result. Even if it could start to bring about the end of the internet and society. On a generalized risk score, even if the probability is low, the impact would be so big that this is still newsworthy. Same as if someone were to tell you that there is a small chance terrorists stole a nuclear warhead and plan to detonate it in your city.
he's practically a priest in the EA/LW/Rationalist religion. he posts religious shit about the coming machine God all the time. absolutely he posts nonsense for clicks.
Someone in the comments below said this forum is a place where we evaluate arguments on their merits rather than the speaker. If this is true, we should disregard the speaker's small cult following, and evaluate the statement itself in a vacuum, in perhaps SOME context of recent events (LLM-powered theorem searches solving multiple Millennium problems), but without taking unjustified blind leaps.
Just as because it's true CIA hires many mathematicians a track record breaking ciphers and would be interested in breaking RSA doesn't mean it's already broken until further evidence, just because Anthropic/OpenAI solved some prize problems doesn't mean they got RSA factoring unless we get reliable evidence, which an unsubstantiated rumor laundered through a well-known voice isn't.
Unsubstantiated rumor off of reddit should be treated as thus. It's a fun "what if" for discussion at your next dinner party, as if we get invited to those. And sure, if you get so inclined, prompt Claude to build you a one time pad encryption system so that between you and your VPS is durably encrypted and hope the connection between that and your bank remains encrypted. I look forwards to your ShowHN. But P being factorable has been a conspiracy theory rumor since the first OpenAI math paper dropped. And well before. It's the night before Thanksgiving. Brush up on the arguments to make with your uncle/sister/father-in-law/mother-in-law/that weird new cousin to convince them that the way you vote is right and they're the idiots. Or work on some cute project for your kids/nephews/nices/grandkids. Or don't. Make travel plans or buy some new game on Steam. Point is, this is just some rumor that's made the rounds back around to Scott and he's freaking out because someone he knows is freaking out. All we can do is not freak out, breath deep, and process things as they get to us.
I think you’re mistaking what is / is not a logical argument.
Scott is not making an argument. He’s just stating a fact: “I heard a rumor.”
The rumor itself is also not an argument, it’s another fact: “a top AI lab can factor integers in P.”
When assessing whether or not the rumor is true, it’s definitely warranted to ask whether or not the person who heard the rumor would be likely to cross paths with someone who knows whether or not the rumor is true.
Any other day I would agree with you, because my prior would favor false rumors over a new algorithm. But given recent developments, they are kind of comparable. If a polynomial-time factoring algorithm exists, now seems like about the time we would be finding it.
My main doubt, or really hope, is that Anthropic employees wouldn't be dumb enough to leak something like this.
Depends on what you leak. Leak the info if it is cracked in p or the info on how to crack it in p. I think the parent referred to the latter. The former should be immediately leaked if proven.
To be honest, I think the more likely result is p!=np and then our crypto should still be safe. I hope at least.
Announcements of some new way to break RSA come up every year or two, e.g. by renowned cryptographer Claus Peter Schnorr, "This destroys the RSA cryptosystem". It did not: https://crypto.stackexchange.com/questions/88582/does-schnor.... As the OP says, wait at least a week before panicking. I doubt this is anything more than all the previous announcements, a slight improvement on one thing or another that has no actual impact.
Is it really that big of a deal implication-wise? Maybe some older embedded tech is vulnerable, but how much does modern software even rely on RSA? And post-quantum cryptography adoption is already well underway
Most TLS certificates are signed by a CA using RSA today. I just checked every one of the major financial institutions I bank with, and every single one uses RSA for the certificate signature algorithm.
"Because people have been hounding me about it: yes, I’m virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells in that area. However, until I either see details or hear directly from someone at a lab, I feel much, much less confident about the specific nature of those bombshells. I do not wish to be responsible for spreading unverified rumors. And I worry that exact statements of what was done may have been mangled in a game of Telephone."
I wonder there's going to be a proof of Factoring in P, but only assuming Axiom of Choice. I. e. it proves that it's possible, but does not give a way how. Just that negation is false.
I feel that these, and similar rumors will be circulating for the next 4-6 weeks, while the original institutional investors are unloading IPO shares on the retail buyers.
Hypothetically, what would happen if someone tweeted a polynomial-time factoring algorithm? What contingency plans exist? How long would various services go down?
Replies (4)
https://scottaaronson.blog/?p=10362#comment-2044495 , Scott Aaronson in a comment on his own blog: "I’ve now heard many, many rumors that one or both labs are sitting on Factoring in P. I don’t know how much to credit this. While I’m virtually certain that the labs are, indeed, sitting on one or more bombshells for cryptography, it’s possible that the exact nature of those bombshells has gotten distorted via a game of Telephone."
https://x.com/AndrewCurran_/status/2125589468786909510 , Andrew Curran on X, quote tweet: "Scott Aaronson on his blog [referring to the post above, includes screenshot]. I have also heard this. In fact, this rumor has persisted for about ten days, about both Anthropic and OpenAI. Considering how closely their recent math results have mirrored each other, if one has it, they probably both do. This would crack RSA."
https://x.com/aran_nayebi/status/2125596838120046846 , Aran Nayebi on X, quote posting the previous X: "Btw, this is the rumor I've been hearing as well for the past week, which is why the current factoring results were a bit of the let down, and may not be the full story:"
That's all you need, no need to follow the actual X links if you don't want to, they're just for citation purposes.
This tracks suspiciously with the governments suggesting a week or two back that we get ready for some downtime. A lot of people were worried that it was a subtle suggestion they were going to go to war, but possibly it's because prime-based encryption is broken with something at least semi-practical, in which case rather a lot of the people reading this can expect to miss Christmas this year as we do an emergency upgrade to elliptic-curve and post-quantum encryption post-haste. (Yes, this isn't about "quantum" but there's definitely some overlap here.)
Replies (2)
Replies (1)
https://scottaaronson.blog/?p=10362#comment-2044495
https://xxcancel.com/aran_nayebi/status/2125596838120046846
https://xxcancel.com/AndrewCurran_/status/212558946878690951...
Replies (1)
It's a link to a Reddit thread with the subject above, showing a screen shot from some forum with a comment supposedly from Scott Aaronson saying that big labs are "sitting on" some result they discovered relating to factoring complexity.
Then a bunch of comments that you can probably generate in your mind, that add no more information.
Replies (1)
I really would prefer to never log in to Reddit again lol
Replies (1)
Replies (2)
Replies (1)
Replies (1)
Replies (1)
Replies (2)
Replies (3)
Replies (1)
There are several ways in which the two layers can end up not being completely independent from each other, and either the breakage of one leads to breaking the other, or their combination breaks both.
A lot of people would dumbly even use the same key in both algorithms, but it's also easy for the two keys to be correlated, when generated together, for problems in each algorithm's implementation (such as non constant operations) to help with breaking both, etc.
“There,” he said. “Now we will not eat any more cookies.”
“But we can open the box, and then open the box inside the box” said Toad.
“That is true,” said Frog.
Replies (4)
Replies (1)
So far most people think P!=NP, but who knows...
Replies (4)
Replies (1)
Replies (2)
More seriously, this will not get rolled out universally in three days. Embedded systems cannot be upgraded on a whim, if at all. This stuff is everywhere and cannot be trivially patched to add post-quantum algorithms.
The radius of the fallout could make the recent vulnerability apocalypse feel like a non-event by comparison.
Replies (1)
edit: this isn't about N = NP so disregard this haha
Replies (3)
I am assuming some of the post quantum algos people have been developing would still be OK?
Replies (2)
Depending on the degree of polynomial required, it might even be a purely theoretical exploit of RSA that's not computationally feasible yet.
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
If they felt that it’s constructive towards something more efficient, they’d still want to keep it under wraps.
Replies (1)
If that's a possible outcome, maybe it's in the AI companies' best interest to keep it as quiet as possible for as long as possible.
Replies (14)
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.
Replies (2)
Replies (1)
My gut feeling is that entire category of asymmetry would probably be at risk.
Replies (1)
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.
Replies (2)
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.
Continue this thread (2 replies) →
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.
Replies (2)
No free market can pay anything remotely close to thecost of a breakdown of modern communication tools
Replies (4)
I see your point—it’s the prospect for catastrophic breakdown / suddenness, not just the obsolescence, that elevates it to a national-security-scale problem.
But in a world where the US public health enterprise has approximately the budget of some large hospitals [0]… I have to imagine the national role would be constrained to buying a little time for a transition, apportioning legal lines of liability, and establishing norms and standards for “what’s next.” And then, yes, leaving the implementation gruntwork for the free market to bear…
[0] https://stacks.cdc.gov/view/cdc/256297
Replies (4)
Not really. Symmetric crypto won't be affected by P=NP. From the information theory perspective, when you encrypt a plaintext N bits of length with a key N_K bit of length, you end up with a ciphertext of N bits of length. Then you send that ciphertext to the other party.
That N encrypted bits have _less_ information than N+N_K, there's no generic fundamental way to reconstruct the key faster than by exhaustive search. All the past attacks on symmetric crypto involve key leakage through known plaintexts, padding, etc.
Replies (1)
Replies (1)
On the other hand, learning with errors and lattice problems feel much more solid.
There is your answer. The government can afford it, so the private sector will demand it. Except of course that the work to actually migrate to whatever the new thing is will not be work the government can fund except via tax breaks.
Replies (4)
I'd encourage everyone to watch Pantheon.
It makes us more like to spend the effort looking for a solution.
So yeah, more likely to find it, but not by some weird psychological phenomenon or something.
Replies (1)
Something happens to our brains when certainty is introduced. The same effort becomes a lot more effective.
Even if you could literally break RSA on a laptop, and even considering the oddball non-TLS corners of technology that depend on RSA, I don't think that much would practically happen. We lived through a long era where virtually nothing was cryptographically secure (remember: a good long stretch of the time we've been encrypting things with RSA, we were holding it wrong, and it was trivially breakable in several different ways). Those weaknesses (no encryption or bad encryption) were not the primary vector through which things were broken.
Replies (8)
Llms also make it much easier for non-experts to take advantage of hearing about the break
Replies (1)
Replies (1)
A) hear about it
B) be interested in exploiting it (both because the ramifications are more widely understood and because the world has come to depend on encryption being infallible, so there are bigger pots of gold to find)
C) be able to exploit it with an llm
You know it's a funnel, more input at the top and so on
Replies (2)
Replies (3)
Replies (1)
Continue this thread (1 replies) →
It’s no fun, and there are definitely bad side effects (which can be mitigated somewhat through solid advance planning—authorities tend to think about backup power for medical devices, for example).
But a mass exigency stimulates an awful lot of humans to feel invested in pitching in a little to get back to normal. Best, always, to avoid the situation—but we don’t lose our collective ingenuity once we find ourselves in it.
I’m reminded of stories from the wilder-and-woolier days of banking systems: hyperinflation or bank runs or currency debasement would lead to workarounds like local IOUs, tight-but-temporary withdrawal limits, barter and mutual aid…
Heck, cryptographically secure payment cards are only, what, a decade or so into widespread use in the US? [1] For decades we literally embossed on the front of the credit card everything you needed to charge it…
[0] https://journals.plos.org/plosone/article?id=10.1371%2Fjourn...
[1] https://en.wikipedia.org/wiki/EMV#:~:text=68.37%25.%5B1%5D%5...
Replies (1)
When it snows in Maine, maybe some things are closed for a day if it snows really hard.
When it snows in Texas, the state collapses.
Big difference.
Replies (4)
Replies (1)
Continue this thread (2 replies) →
Replies (1)
Well, how about 10B people signing their own bootloaders and getting mainline linux on their phones to make all the neo-Stasi surveillance states collapse in blindness?
Replies (1)
Presumably the already available elliptic curve algorithms would still be available and are the easiest first step. The second step would be to change to the post-quantum algorithms required in 2035 and beyond. There is also the possibility of moving to authentication and key agreement using symmetric cryptography and shared secrets, either peer-to-peer (like ATM PINs) or via central directories (like Kerberos).
The biggest pain point is likely to be securing embedded systems which use RSA and cannot be easily updated. Browser or smartphone app to server applications are much more easily secured.
For some uses of RSA there is also the problem that messages which have been captured and stored may be retroactively broken.
Replies (2)
Replies (3)
Replies (4)
Continue this thread (2 replies) →
More fundamentally though, both systems rest on the assumption that a long unsolved mathematical problem will remain unsolved. That seems a questionable assumption in the LLM era
[1] https://en.wikipedia.org/wiki/Hidden_subgroup_problem
Replies (1)
Replies (1)
So if real, it won't get released publicly (lest someone goes to jail).
Later, the Chinese labs with their AI will crack it and their government/spy agencies will get the crack.
Hopefully this doesn't get used as an excuse to hold back frontier AI, but some day ordinary researchers will probably be able to use open models to pull something like this off.
Replies (1)
Replies (2)
Replies (1)
Continue this thread (1 replies) →
Replies (1)
There is a tendency in tech circles to view technology, laws, economics like actual laws that rule the behavior of a mechanical society. A lot of past and recent doomerism arises from that misconception.
Replies (3)
EC is not quantum safe as I understand it, though not practical with the experimental quantum computers we have today. See also https://en.wikipedia.org/wiki/Elliptic-curve_cryptography#Qu...
Yes we’ve needed more bits for RSA than EC for a long time now since congruence of squares allowed a sigificant improvement that we never knew how to replicate for EC but if factoring is P the i’d be very concerned about the closely related EC algs too.
Replies (3)
Most of the "good people" have left and that includes capable people with integrity.
Replies (1)
Replies (1)
Replies (1)
Continue this thread (3 replies) →
Replies (1)
Replies (1)
Replies (1)
It will be a nothingburger, not a crisis. There will be some Y2K style transitioning here and there, but after a year we'll be looking back and laughing at the quaint cryptography methods from the old days. Naive.
Replies (1)
Replies (1)
I also don't know if current AI CEOs would dislike this outcome as they could be regulatory captured by an incredibly corporate friendly admin and kill competition and funding issues.
Replies (1)
Edit: I forgot al gore invented the internet so maybe he's an exception
Replies (2)
Replies (4)
Replies (6)
Replies (1)
Once a transactions happens if the address is reused that's a different matter. I don't believe Satoshi would have reused an address.
Replies (1)
The only line of defense there is ECDSA / secp256k1.
Replies (1)
Replies (1)
they might be 'good', not just qualitatively?
Replies (1)
Furthermore, “bad actor” does not mean “evil person in all walks of life”, it just means someone with the ability and willingness to cause harm in a particular situation. Or Tommy Wiseau (this is a joke).
Replies (1)
So elliptic curve and post-quantum algorithms are already in use.
Replies (1)
Key exchange is pretty much rolled out. Certs almost not at all. Sure, you can switch your server cert to elliptic curve, but it'll still be signed by an RSA root cert. (or could be, for impersonation)
But also note that P=NP is not the same thing as PQC. Not exactly. A cryptographically relevant quantum computer can break factorization-based crypto, but the rumoured proof is that factoring isn't even in NP (or P is indeed NP).
Replies (3)
Replies (1)
Are there ECDSA root certs? Sure. But unless you pin to them, someone can still make a fake cert rooted back to an RSA root cert.
And I don't see any cert pinning config for news.ycombinator.com, after a brief check.
Replies (1)
All RSA algorithms would join RSA < 2048 bits, Diffie Helman < 2048 bits and the other algorithms for symmetric encryption, hashing and key exchange/signatures that were once used by TLS/SSL but are no longer trusted.
Replies (1)
But in any case the point was to refute "but look, the site is already safe".
Replies (2)
Replies (1)
But yes, pedantically also PRIMES is in NP, because P is in NP.
Replies (1)
Replies (2)
Replies (1)
I don't think so. The best-known algorithmic consequence of GRH is that it makes the deterministic version of Miller–Rabin (the Miller test) provably correct [1]. That result isn't even ground-breaking: we've had a deterministic polynomial-time primality test since 2002 [2]. But more the the point, primality tests don't help with factoring. They only tell you whether N is prime or composite. But if N turns out to be composite, primality tests don't tell you _which_ primes divide N. No known factoring algorithm reaches polynomial time even assuming GRH.
If you're trying to understand what RH is about, here's a rough analogy. Treat the number of primes below N as if it were a random quantity that follows a bell curve. We've known for a long time what the mean (middle) of the bell is: roughly N/ln(N) [3]. What we didn't know was what the variance (width) of the bell is. RH says the bell curve is as narrow as it can possibly be: roughly √N times a log factor.
Unfortunately, I don't think I can make the above analogy more precise without introducing a lot more mathematics.
[1]: https://en.wikipedia.org/wiki/Miller%E2%80%93Rabin_primality...
[2]: https://en.wikipedia.org/wiki/AKS_primality_test
[3]: https://en.wikipedia.org/wiki/Prime_number_theorem
Replies (1)
I actually imagined something more-or-less opposite of what you suggested. What I originally had in mind is that GRH helped with a closed form expression for all primes, like f(1)=2, f(2)=3 etc. This would allow you to generate potential candidates for n and e quickly, which you could then presumably also test quickly.
Replies (1)
Naively, this is why getting a function for the next prime doesn’t lead immediately to factoring in P, the proposal doesn’t work without significantly more ideas to improve the factoring.
It'd be quite interesting for the math community if this minority was right after all. Crazy times.
Replies (4)
Replies (1)
I like to think that P=NP, because it says things that are currently impossible might not be. And the implications could be greatly empowering for science. But alas, it could be false.
As others have noted, people have been storing tons of encrypted packets waiting for the day they can break this.
What does that mean?
Basically every online service needs to go down until there's a new solution?
Would most old non-2fa accounts - practically speaking - need to be thrown out, as there would be no way to know who it belonged to?
One would assume that trying to keep Pandora's Box shut for too long is not really possible, and if something of this magnitude is out there, it's only a matter of time until it gets into the wrong hands.
Replies (13)
Reject humanity, return to monke
Replies (1)
Replies (3)
Replies (2)
Also llms can hardly center a div 50% of the time I ask them to. Im not worried about this. Im more worried for all the humans who are one-shot by llms screwing up the world
Replies (1)
Replies (1)
OTOH, if the exponent is large, factorization in P might not change much. When primality was discovered to be in P, the first exponent proven was 12. That was later lowered substantially, but with an exponent of 12 the RSA key would need on the order of 5000 trillion trillion trillion operations, which I think is still infeasible.
Replies (1)
No one with any sense would use RSA as a hash function.
No one with any sense would use asymmetric encryption for local storage.
No one with any sense—
We're screwed, aren't we?
Replies (1)
The main application of RSA is in digital signatures, e.g. in the certificates used to authenticate servers and clients, not in any encryption algorithms.
Breaking RSA would allow future bypasses of the authentication procedures, but it would have a negligible effect for the safety of past encrypted communications.
I think this would only work before forward secrecy became common. So probably the last 10ish years are safe, but if various actors were storing from before then I think those comms could be broken.
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (3)
For a while i checked what a service will do when i forget my password. Too many knew my old one.
Never trust the internet.
Replies (1)
we have an antiquated view of what OTP actually consists of.
Replies (1)
Replies (1)
Replies (1)
Replies (1)
I long for such a vacation
For the sake of a thought experiment, let's assume the Rocky Mountains are made of lead azide...
> What does that mean?
Basically everybody should stop walking, talking, breathing - there should be complete motionless silence at all times, that would be a lot more important than some useless algorithms. The question is, when do we start implementing the policies of complete silence? Obviously, it should be before any measures regarding algorithms - because of the much higher importance of the new "thought experiment".
There's only one conclusion, if we're going to play chicken little, it's better to do it using the case of explosive Rockies rather than some unimportant algorithmic problems.
RSA has been used almost exclusively for digital signatures, i.e. for the certificates used to authenticate servers and sometimes also clients.
The key exchange was done in the early years of Internet mostly with classic Diffie-Hellman, but more recently with the elliptic curve variant of Diffie-Hellman.
For any stored encrypted communications, what is needed is not breaking RSA, but breaking the elliptic curve variant of Diffie-Hellman. A few of the stored encrypted communications may have used pre-shared secret keys instead of elliptic-curve DH, and those would continue to remain impossible to decrypt.
Breaking RSA would be useful only for the future, e.g. by creating fake servers that impersonate some existing important servers, or if there are sites where clients are authenticated with RSA-based certificates, breaking RSA would allow attackers to login there. If RSA-based authentication is used with SSH, such SSH servers would be vulnerable to malicious logins.
Replies (1)
They changed the default to elliptic curves instead of RSA in something like 2021 but there is a lot of stuff out there that was encrypted before that.
Encryption or cryptography?
AES isn't falling. SHA-2 and SHA-3 are not falling. Only asymmetric key cryptography is (basically RSA but also impliedly ECC since prime number factorization is equivalent to the discrete logarithm problem). Post-quantum asymmetric key cryptography would still be standing, but PQC is only deployed for key exchange, not for signatures (authentication).
So standard cryptography would be in serious trouble, but standard encryption would not be.
Replies (2)
Dicrete logarithms and prime factorization are both instances of a more general problem, the hidden subgroup problem. But they are not known to be equivalent: even given an oracle that can tell you the prime factors of any integer, we don't have a classical algorithm that could efficiently compute discrete logarithms, or vice versa.
So, as far as we currently know, it's possible to find an efficient classical algorithm for breaking RSA but not ECC. Of course, it's also possible that there exists an efficient classical algorithm that solves the general hidden subgroup problem, like a classical equivalent of Shor's algorithm, and then both RSA and ECC fall together - it's just not a given.
Replies (1)
Replies (1)
Right?
Replies (1)
Rumors are swirling that this might be market manipulation.
Replies (2)
Replies (1)
I go first
- cure stomach cancer in mice
- cure baldness in badgers
- a drug 10x more efficient than viagra (might give you stomach cancer and make you bald thought)
- a protein that stops aging in mouse (but makes them unable to reproduce)
- how to travel near speed of light (but makes you age much faster)
- proof that aliens are already on Earth (assuming they can travel faster than light)
- proof that God exists (but might actually be an alien)
Rumors about rumors.
Replies (2)
Link to the original comment?
Replies (1)
https://news.ycombinator.com/item?id=50642122
I didn't notice it had quotes around it; maybe they got it somewhere else.
Replies (2)
Replies (1)
Many other were not really "solved", but AI found corner-case counterexamples for obscure hypothesis someone named "Millennial", and which didn't produce visible impact.
Replies (1)
Replies (1)
Replies (1)
Continue this thread (1 replies) →
Guess the doomers were right?
Replies (1)
Replies (1)
Replies (1)
Replies (1)
Replies (1)
That is, integer factoring has a decidable, deterministic, "is this number (only) a prime", 'yes' and 'no' variant. Deciding whether it's composite doesn't mean you're given the divisor.
If P=NP, then integer factoring is in P trivially, because the polynomial hierarchy collapses, but the other way doesn't hold. To be clear, I think there's essentially no chance P=NP.
[0] https://en.wikipedia.org/wiki/Integer_factorization#Time_com...
Replies (3)
>Integer factoring is in NP and coNP so, unless P=NP, factoring is not NP-Complete
No. We don't know if the intersection of NP and coNP equals to P.
>"is this number (only) a prime", 'yes' and 'no' variant.
This is primality testing, which was proven to be in P in 2002 via the AKS algorithm.
or is it possible that todays results from google are what started the rumor mill to begin with and the rumors are inaccurate?
Replies (1)
Sure, and I've heard that LLMs have invented FTL travel and are just about to reverse entropy. It's on the grapevine so it's 100% real. Please theorize about the ramifications of these real discoveries in the replies.
Replies (7)
I'm currently buying FTL-X stocks as they're about to skyrocket. I'll use the earnings to open the first hotel on Titan in 6 months time!
So a far more credible source than a random forum post, but Scott himself says he doesn't know how much weight to give the rumors.
Replies (1)
> I do not wish to be responsible for spreading unverified rumors. And I worry that exact statements of what was done may have been mangled in a game of Telephone.
It's not the first time his words were misinterpreted, check this: https://scottaaronson.blog/?p=9344
Seems like he may have gotten too excited and, indeed, does not have any solid proof.
Replies (1)
Replies (1)
This would obviously speed up that process but we've already accepted that RSA/D-H/etc will ultimately be unsafe (have been cracked with quantum computers)
[0] https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...
So even if they know factoring an arbitrary number in polynomial time, it might not matter. For example, the time could be O(X^100) with a constant of 10^(10^(10^10)).
Replies (1)
We've got hacked fridges, impersonation abilities, network degradation, deleting software while trying to fix it, breaking out of its sandbox, autonomous coding, autonomous hacking (into the fridges), RSI, and now maybe breaking encryption.
Replies (1)
Replies (5)
But that song cuts through the air like a knife and can even wake me up from a nap so I know when it's done from across the house! As someone with a non-connected machine, I will never give up that song!
But more likely no, I don't buy it. If true, we should see the google/cloudflare push for PQ algorithms to switch to being default within weeks.
And the likes of NSA would not suppress it either, because national security also means having a functioning financial sector.
Replies (5)
Replies (3)
Replies (1)
Doubt.
The lab would obviously not release that publicly, given the irresponsibility of doing so.
Assuming it's in the US, the NSA would receive the first call.
And then the NSA would simultaneously be (a) operationalizing an attack and (b) approaching other government agencies in order of priority to either disconnect or restrict encryption to post-quantum schemes.
The attack could potentially be kept under wraps. Uniformed personnel, etc.
The defense would begin to trickle out in the form of rumors, as {random government IT person} gets asked about upgrading {random government system} to PQC.
And all of this in the context of the government, over the last 2+ years, increasingly urging the public to move to PQC.
F.ex. the NIST/HHS/CMS conference earlier this year
Replies (3)
!
The concern being PQC is also implicated. Think second and third order effects.
“You’ve been…living in a dream world, Neo.”
Replies (1)
Replies (1)
Are we still talking about the company that supposedly told USGOV they could use their tech, just not for war stuff?
Continue this thread (1 replies) →
Replies (1)
Replies (3)
Replies (3)
btw, HN post for that article, not the comment, at https://news.ycombinator.com/item?id=50637874
Just as because it's true CIA hires many mathematicians a track record breaking ciphers and would be interested in breaking RSA doesn't mean it's already broken until further evidence, just because Anthropic/OpenAI solved some prize problems doesn't mean they got RSA factoring unless we get reliable evidence, which an unsubstantiated rumor laundered through a well-known voice isn't.
Replies (2)
Replies (1)
https://www.buzzfeednews.com/article/janelytvynenko/fdny-rev...
Scott is not making an argument. He’s just stating a fact: “I heard a rumor.”
The rumor itself is also not an argument, it’s another fact: “a top AI lab can factor integers in P.”
When assessing whether or not the rumor is true, it’s definitely warranted to ask whether or not the person who heard the rumor would be likely to cross paths with someone who knows whether or not the rumor is true.
My main doubt, or really hope, is that Anthropic employees wouldn't be dumb enough to leak something like this.
Replies (1)
Replies (1)
To be honest, I think the more likely result is p!=np and then our crypto should still be safe. I hope at least.
Perhaps it's just computationally very very expensive
Replies (1)
Replies (1)
"Because people have been hounding me about it: yes, I’m virtually certain, from multiple reliable sources, that the AI labs are now sitting on one or more bombshells in that area. However, until I either see details or hear directly from someone at a lab, I feel much, much less confident about the specific nature of those bombshells. I do not wish to be responsible for spreading unverified rumors. And I worry that exact statements of what was done may have been mangled in a game of Telephone."
Replies (1)
Little late on that one, Scott
NSA: How can we make the world rush to PQ only and give up on hybrid ECC + PQ schemes?
GCHQ: Let's spread a rumour it's already broken by AI!
<tinfoil hat off>
Easier to read version posted by another user below.
Replies (1)
also a p factoring algorithm can have a huge term that might make it unfeasible right?
basic questions I know, but I’m just a layman
Replies (1)
Maybe.
Original idea mine, then some rounds of AI.
Curious?