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.
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.
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.
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?
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.
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.
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.
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.
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.
What corrections will banks make, when daily thousands of accounts make dubious transactions and customers come clamoring at their doors, because their money has been stolen? How can everything be reverted to the previous day, or week, without enabling more abusive behaviors through enabling resets? Will everyone have to check their account every few hours every day?
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
One-time pads are barely cryptography. It's a little like saying "you'll always have the option of not sending a message electronically; your secrets will always be securable".
One-time pads aren't just "hard logistically and harder to use". They simply don't support almost anything we use cryptography to protect today. In virtually every case they're proposed, you just end up moving the cryptographic vulnerability somewhere else in the architecture; the "one time pad security" is performative.
I don't even use 100GB of data a month on my phone, pretty sure a usb stick with 500GB key a month would satisfy most people. Maybe we don't need to encrypt netflix / youtube
What does a USB stick with 500GB of random data actually solve? Who is issuing it? What transactions does it protect, and how? What are the new trust relationships? My expectation is that the USB-stick security infrastructure will fall apart as soon as you fully specify it.
True and also irrelevant because nobody uses OTPs and they aren't practical for most online crypto applications.
It'd have to be an application that's worth the hassle of an in-person key material exchange, and then extremely judicious use of bandwidth to not run out of OTP too quickly. That's the antithesis of the modern web and banking, where a very small percent of transactions/accounts are worth such hassle, and most websites don't blink before adding bloat that would burn through OTP like butter.
If it turns out that there is a breakthrough and it extends to ECC, and it's practical for sub-nationstates (and FAANG-states) to do, that will drive mass panic and exodus to lattice crypto, but... LWE may not fare any better when the frontier models are turned on that.
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.
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?
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.
> "that too few people give a shit about mass-scale 1A violations for it to matter"
From what I recall a lot of people did care, just that no actionable solution was identified.
This time round underground LLM's help factor mask ROM public keys so people can sign their own bootloaders, install mainline linux on their phones and effectively evict the neo-Stasi nation states around the globe, causing them to go effectively blind vis-a-vis the population.
While none of the criminals in charge went to prison, or faced any personal or professional consequences at all, the world as a whole switched to HTTPS by default, in what is clearly cause and effect.
I don't have a nice graph, but only 4% of web traffic was HTTPS in 2008 [1] (from the graph it looks like it was about flat, so about 4% just before Snowden). Today about 4% is not HTTPS [2]. (surprisingly, Linux is worst. But all others are 95+%, so I assume aggregation is at least 96%)
I have contacts at Google who were SUPER pissed about this, and tell stories about how just about every team around them (not even security teams) had a person or two drafted into one of those "I don't care what you're doing, you stop it right now and make sure we're blocking the NSA" fire drill projects. And within a week or two they could respond to the "SSL added and removed here :-)" with "Not anymore, fuckers".
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?
> 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.
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…
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.
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.
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.
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 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.
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.
Shor’s algorithm is a bit of an oddity in that respect, because the only structure it works on is the Fourier transform (plus sampling). It’s just that you can very quickly and efficiently do the Fourier transform on a quantum computer.
Elliptic curves and the primes are certainly different, but they do share some very deep structures. It’s been a while since I studied it, but I believe some of the factoring algorithms (I think some of Lenstra’s work) actually exploited some results from elliptic curves to factor integers.
> 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.
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.
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.
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.
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.
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.
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?
> 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).
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?
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.
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.
> 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.
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.
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?
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.
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).
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.
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.
Indeed, and optimization, statistics, machine-learning theory, and numerical analysis was also less than 1% instead of the maths literature average of ~20%.
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).
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.
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 .
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.
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.
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.
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 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.
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)).
"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.
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.
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!
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.
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.
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.
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.
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.
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)
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.
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
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.
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.
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.
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.
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.
ECC and RSA essentially fall together.
Do they? How so? Aren't they entirely different math problems to solve?
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?
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.
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.
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.
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.
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.
Technically perhaps not but socially people are watching and can make corrections until technology is updated
It's not like the cartoons where all is good then a frame later apocalypse
Though front row seats to the apocalypse would be metal af
What corrections will banks make, when daily thousands of accounts make dubious transactions and customers come clamoring at their doors, because their money has been stolen? How can everything be reverted to the previous day, or week, without enabling more abusive behaviors through enabling resets? Will everyone have to check their account every few hours every day?
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
One-time pads are barely cryptography. It's a little like saying "you'll always have the option of not sending a message electronically; your secrets will always be securable".
One-time pads aren't just "hard logistically and harder to use". They simply don't support almost anything we use cryptography to protect today. In virtually every case they're proposed, you just end up moving the cryptographic vulnerability somewhere else in the architecture; the "one time pad security" is performative.
I don't even use 100GB of data a month on my phone, pretty sure a usb stick with 500GB key a month would satisfy most people. Maybe we don't need to encrypt netflix / youtube
What does a USB stick with 500GB of random data actually solve? Who is issuing it? What transactions does it protect, and how? What are the new trust relationships? My expectation is that the USB-stick security infrastructure will fall apart as soon as you fully specify it.
ah right forgot OTP only works between 2 people which basically have to share the key offline. might be good for banking atleast
True and also irrelevant because nobody uses OTPs and they aren't practical for most online crypto applications.
It'd have to be an application that's worth the hassle of an in-person key material exchange, and then extremely judicious use of bandwidth to not run out of OTP too quickly. That's the antithesis of the modern web and banking, where a very small percent of transactions/accounts are worth such hassle, and most websites don't blink before adding bloat that would burn through OTP like butter.
If it turns out that there is a breakthrough and it extends to ECC, and it's practical for sub-nationstates (and FAANG-states) to do, that will drive mass panic and exodus to lattice crypto, but... LWE may not fare any better when the frontier models are turned on that.
There's so much focus on this now and so much compute available, it's a very different game I'd think.
Llms also make it much easier for non-experts to take advantage of hearing about the break
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.
> I really don't think any crisis would occur.
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?
There's no way that NSA does not already know what's going on inside the labs.
If they do, they're probably not moving it too far up the chain to the Fox News hosts at the top of the administration.
That is if recent political changes havent blinded the US
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.
This might be the first time I've ever heard the NSA described as an agency with "good people" of integrity.
The sole good NSA guy with integrity effectively resigned in 2013.
Threw his life away to prove that too few people give a shit about mass-scale 1A violations for it to matter. I feel so bad for him.
> "that too few people give a shit about mass-scale 1A violations for it to matter"
From what I recall a lot of people did care, just that no actionable solution was identified.
This time round underground LLM's help factor mask ROM public keys so people can sign their own bootloaders, install mainline linux on their phones and effectively evict the neo-Stasi nation states around the globe, causing them to go effectively blind vis-a-vis the population.
While none of the criminals in charge went to prison, or faced any personal or professional consequences at all, the world as a whole switched to HTTPS by default, in what is clearly cause and effect.
I don't have a nice graph, but only 4% of web traffic was HTTPS in 2008 [1] (from the graph it looks like it was about flat, so about 4% just before Snowden). Today about 4% is not HTTPS [2]. (surprisingly, Linux is worst. But all others are 95+%, so I assume aggregation is at least 96%)
I have contacts at Google who were SUPER pissed about this, and tell stories about how just about every team around them (not even security teams) had a person or two drafted into one of those "I don't care what you're doing, you stop it right now and make sure we're blocking the NSA" fire drill projects. And within a week or two they could respond to the "SSL added and removed here :-)" with "Not anymore, fuckers".
[1] https://www.ietf.org/ietf-ftp/slides/slides-marnewws-scene-s... [2] https://letsencrypt.org/stats/
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?
Because modern crypto works based on p!= np, and that any remotely usable proof would risk breaking it.
No free market can pay anything remotely close to thecost of a breakdown of modern communication tools
> 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.
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…
[0] https://stacks.cdc.gov/view/cdc/256297
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.
I think writing P≠NP is more clear, since "!" is often used for other purposes.
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.
>Something about removing the cloud of uncertainty makes our meat brains a lot more likely to find a solution.
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.
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.
This so much. Once people know, factually, that it can be solved, it's only a matter of time.
I'd encourage everyone to watch Pantheon.
> Okay, Neon Xhigh, Anthropic found that P=NP, now you find it, too. Make no mistakes. You have a 12-turn budget. DON'T burn all my quota either.
Every common tool has support for EC based crypto for more than a decade now. No need for massive compute to update a bunch of config files
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.
> Every common tool has support for EC based crypto for more than a decade now. No need for massive compute to update a bunch of config files
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...
If you can break factorization, what says the proof doesn’t give hints for more?
That US government was unable to call a pandemic that killed a million an emergency. Don't expect them to move for a nerd threat.
it's a tech that touches their money
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 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.
I know it's not a sensible argument, but it's the one Dario's trying to make.
Yea, I believe it would backfire spectacularly.
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.
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 feel like if polynomial factoring is possible, elliptic curves aren’t far behind.
My gut feeling is that entire category of asymmetry would probably be at risk.
If we're vibing...
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.
>> Actually Shor’s algorithm works just fine on elliptic curves.
Thanks, I was not aware that it could be used for that. The number theory approaches have always indicated EC and RSA are fundamentally different.
Shor’s algorithm is a bit of an oddity in that respect, because the only structure it works on is the Fourier transform (plus sampling). It’s just that you can very quickly and efficiently do the Fourier transform on a quantum computer.
Elliptic curves and the primes are certainly different, but they do share some very deep structures. It’s been a while since I studied it, but I believe some of the factoring algorithms (I think some of Lenstra’s work) actually exploited some results from elliptic curves to factor integers.
Edit: it’s this algorithm I was thinking of: https://en.wikipedia.org/wiki/Lenstra_elliptic-curve_factori...
Algorithms up to EC are covered in "Factorization and Primality Testing"
https://www.amazon.com/dp/0387970401?lv=shuf&channelId=500&p...
BTW that book would be cool if all the pseudo-code were converted to python!
Agent f3q8rx9, is that you?
> 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.
That would be major freeing event for a lot of devices that can't be changed due to using RSA for secureboot in bootrom. :) Bring it on!
Also the unraveling of most, er, money. But my laundry machine is getting pwned and reprogrammed to stop playing that annoying final song.
Isn't most of the internet on EC at this point?
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.
Anthropic throwing substantial computing power at it feels like their default plan.
Those billions of dollars don't burn themselves.
That's all AI is, a race to scale matrix math machines as high as possible
My browser says that "The connection to this site is encrypted and authenticated using TLS 1.3, X25519MLKEM768, and AES_256_GCM
So elliptic curve and post-quantum algorithms are already in use.
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).
My browser says that the certificate for news.ycombinator.com and all the certs up to root are signed using "X9.62 ECDSA Signature with SHA-384"
I should have been clearer when I said "If nothing else, then by the root certs".
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.
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.
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.
Could still be a galactic algorithm, no? Weren't most of the complexity breakthroughs so far of that type?
Potentially, but I’d imagine if it was galactic in nature they’d share it out.
If they felt that it’s constructive towards something more efficient, they’d still want to keep it under wraps.
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.
https://redlib.catsarch.com/r/singularity/comments/1y59ef1/r...
Thanks it’s so refreshing to be able to read the thread flat without having to expand and wait for comments to load over and over
I really would prefer to never log in to Reddit again lol
When the site was fast they didn’t have a reason to pitch you to download their data-hoovering app
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.
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?
The NSA already has DCs with enough storage to retain all traffic they find interesting. They have for some years now.
> 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).
The question is broken at scale. If you have a haystack of needles, good luck finding the right one.
Everyone would need to migrate to post-quantum encryption, and all passwords encrypted with RSA would need to be updated?
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?
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.
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.
No one with any sense would store passwords at all.
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?
it's the information equivalent of jurassic park
> 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.
> What does that mean?
Reject humanity, return to monke
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.
I had my own html form to change the endpoint of the email web provider from http to https and that was 2006 or 2007.
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.
This honestly sounds like an improvement, imo.
Probably means a lot of politicians dirty secrets get unlocked, potentially some crimes are solved. But probably not.
Remember the Panama papers? No one cares.
> Basically every online service needs to go down until there's a new solution?
I long for such a vacation
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.
Why do you think Bitcoin has been tanking?
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?
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.
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).
Frog put the cookies in a box, and the box inside another box.
“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.
if P=NP then that's absolutely the right analogy, but it doesn't seem outlandish for ECC to be provably secure while RSA isn't, or vice versa.
That Frog and Toad bit is such a perfect encapsulation of software engineering.
Exactly. The SOTA is currently 1000s of agents with the current frontier capabilities working 24/7 at a problem. A couple more layers doesn't help.
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.
Let's prove P!=NP and then create an algo from a problem that's not in P.
So far most people think P!=NP, but who knows...
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.
Did google rush to release their factoring results today as a result of the rumors?
or is it possible that todays results from google are what started the rumor mill to begin with and the rumors are inaccurate?
It is suspicious that cryptography was absent from the OpenAI paper dump.
Indeed, and optimization, statistics, machine-learning theory, and numerical analysis was also less than 1% instead of the maths literature average of ~20%.
I don't think there's as much Lean in those fields
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).
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.
[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
Hi, thanks for your response! It was informative.
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.
Satoshi's wallet will fall in the next year
Will it matter? If wallets can be cracked from nothing, Bitcoin becomes worthless.
Bitcoin turning worthless would matter, perhaps in a different way.
Is this what they mean by nature is healing?
That would be a net positive.
Depends on if you're fast enough.
This is good for bitcoin!
"becomes"?
Scammers will be very disappointed.
I don't believe it's possible to crack bitcoin wallets from the address (effectively public key hash alone).
Once a transactions happens if the address is reused that's a different matter. I don't believe Satoshi would have reused an address.
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 .
That would require every bad actor to be directly motivated by money. It only takes one motivated by creating chaos.
factoring rsa primes is very different than 64 rounds of hashing, sha256 is most likely np
Ok, assuming they have what are our next steps here? Would this be just RSA or also elliptic curve crypto?
I am assuming some of the post quantum algos people have been developing would still be OK?
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.
That shouldn't have any effect on elliptic curves, though I only have a lay persons knowledge of crypto.
Depending on the degree of polynomial required, it might even be a purely theoretical exploit of RSA that's not computationally feasible yet.
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.
The interesting bit to me is that there are very few serious mathematicians who leaned towards P=NP, among them Donald Knuth.
It'd be quite interesting for the math community if this minority was right after all. Crazy times.
Integer factorization is not known to be NP-complete nor NP-hard, thus a polynomial time solution would not imply P=NP.
This isn't that. It's about factoring large numbers, not P=NP.
Oops, yes, factoring isn't known to be NP-complete, so putting it in P wouldn't settle P=NP. My bad.
Except that integer factoring hasn't been shown to be NP-hard, so finding a polynomial algorithm has no immediate effect on P = NP.
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.
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.
https://www.ueddit.com/r/singularity/comments/1y59ef1/rumor_...
my gut tells me the rumors are false.
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.
The rumors are true because otherwise they wouldn't be hiding it!
Any such algorithm will probably be terrible like the FFT in nsqrt(log n). If it's not elementary it is probably not worth it
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)).
If true then government(s) have it?
"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.
The comment is from Scott Aaronson on his blog: https://scottaaronson.blog/?p=10362#comment-2044495
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.
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.
Agreed. It’s a rumor that is worth taking seriously, but posting 4th hand accounts is definitely not what taking it seriously looks like.
It's from r/singularity. HN is not beating the allegations
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!
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.
I really hope the key they managed to factor is... 4.
It is 2. From what I heard.
Thank you, Mr. Melon.
Literally just a screenshot of an HN comment I myself saw a few hours ago.
Rumors about rumors.
> Literally just a screenshot of an HN comment I myself saw a few hours ago.
Link to the original comment?
I saw it here:
https://news.ycombinator.com/item?id=50642122
I didn't notice it had quotes around it; maybe they got it somewhere else.
Intelligence agencies are salivating looking at their mountains of vacuumed encrypted data.
Only for communication > 10 years ago before DHE was widely adopted. Unless discrete logarithm is also broken.
Didn't Quantum Computers promise all these headlines?
It can be in P and still infeasible in practice (e.g. factors in O(N), but each operation takes a billion CPU-years and is sequential).
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.
I thought that the bank outage a bit ago might have been the nginx CVE; but if this is true, then it might have been upgrading out RSA.
Isn't this literally the plot of Silicon Valley?
Son of Anton's AI depiction was truly prescient.
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.
Did they ask “don’t make mistakes” to their prompt?
Is this Y2K?
If true it's very funny that this came out of LLM research and not quantum computing. Is QC good for anything?
Arguably, quantum computers got us to start thinking about and taking action on post-quantum cryptography sooner?
So basically AI is on the brink of literally bringing everything we know down.
Guess the doomers were right?
wer
Don’t we already post quantum encryption ready to go?
Post-quantum schemes don't survive N = NP either.
edit: this isn't about N = NP so disregard this haha
Factoring in P wouldn't prove P=NP, that would be a whole other level of craziness.
Prime factorization is not NP-complete I thought so if the rumor is true it wouldn't resolve P vs NP
We have post-quantum options available. Most sites that would need to deploy it are nowhere near "ready to go" on a project of that scale.
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.
Implemented? Yes. Deployed? Well, I would expect the rollout will happen faster than IPv6….
It will happen everywhere simultaneously in 3 days if they can actual solve prime factoring…
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.
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.
Un-fun fact: the integrity of Debian Apt repositories is verified by RSA signatures.
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)
[0] https://en.wikipedia.org/wiki/NIST_Post-Quantum_Cryptography...
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.
I thought the same way until they dropped proofs to two Millennium Prize problems
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.
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
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.
[0] https://en.wikipedia.org/wiki/Integer_factorization#Time_com...
You're wrong on multiple counts.
>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.
Nothing happens complexity class wise if Integer Factorization is shown to be in P.
P is a subset of NP. P?=NP is a different question.
This reddit rumor was posted exactly when ANT was in freefall at $75. It then recovered to $80.
Rumors are swirling that this might be market manipulation.
We should make a list of random rumours they can use next time the stocks is falling.
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)
So brave to post this on an account created 2 mins ago
Yeah, Suchir Balaij was more courageous. But the AI people whacked him.
noscript/basic HTMl browser friendly link?
Sources:
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.)
This should be the reply standard on HN involving X posts.
Sure, here's the sources linked in the Reddit comment that they're talking about, with x links converted to xxcancel:
https://scottaaronson.blog/?p=10362#comment-2044495
https://xxcancel.com/aran_nayebi/status/2125596838120046846
https://xxcancel.com/AndrewCurran_/status/212558946878690951...
thx!
https://scottaaronson.blog/?p=10362#comment-2044495
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.