I've been thinking about what I'd do if I worked at one of these labs with access to a usable (not galactic) "factorization in P" result. I think the only reasonable thing would be to post a public factorization of the 2048 bit RSA challenge number. Basically, it's pretty easy to give the necessary warning to the world that would push us to fix crypto before it's public, there's no need to dump the full result publicly right away. You also want to avoid the risk of something like that becoming a 3-letter-agency secret for the next several years.
I know we all like to be cynical regarding the NSA, and with good reason, but they have in the past shown some level of foresight, and I would hope they have some sort of plan for how to deal with something being found to be broken and how to co-ordinate with industry to minimise the impact of that.
In this situation I do not see any realistic option for a US lab that wouldn't involve engaging the NSA, and would be very surprised if this wasn't already the case.
we have been warned of the NSA trying to break encryption since at least 2005. Me personally, this is all fear mongering bullshit. If they were going to break RSA it would have already happened. And if it has been broken, nobody one would know except for a few people. They usually kill or exile people trying to break RSA
The NSA tried to regulate cryptography as a munition, capped everyone at 40 bits. They wanted everyone using basic RC4 keys that were known even then to be crackable with basic hardware. Then it was DES.
When Phil Zimmerman released PGP the NSA investigated him for FIVE YEARS. He only avoided conviction because he released the PGP source code as a printed book and didn't put it on the Internet. The Gov had to get sued because cryptography is free speech, and didn't drop the 'export restrictions' until 1999.
The NSA is not there to make YOUR signals secure... quite the opposite!
They do try and keep THEIR signals secure where THEIR is wider than the agency and they have good ideas of what is possible unless of course they're leaving the military and everyone else open to spying by themselves and equivalents. I have a hard time believing they'd be allowed to do that but what do I know.
"
Michael Hayden, a former NSA Director, has since acknowledged the concept of NOBUS:
You look at a vulnerability through a different lens if even with the vulnerability it requires substantial computational power or substantial other attributes and you have to make the judgment who else can do this? If there's a vulnerability here that weakens encryption but you still need four acres of Cray computers in the basement in order to work it you kind of think "NOBUS" and that's a vulnerability we are not ethically or legally compelled to try to patch – it's one that ethically and legally we could try to exploit in order to keep Americans safe from others."
yeah that statement aligns with my mental model. acres turn into centers turn into rooms turn into laptops. crypto algorithms are minted and become obsolete. acres of floppies become spinning rust. it's all buying time. it's all been owned many many times in the past. if an exponent drops by one it is a big deal but seems on order with the past. if it drops like a derivative to a constant multiplier that's a totally different deal.
als people seem to be making a big deal about proving things are harder than expected as much as easier.
Also on my website I also have both of the Bernstein Decisions at https://cryptosystemsjournal.com/bernstein-decisions.html because it was the 1996 decision by Judge Patel that held "...source code is speech for the purpose of the First Amendment ..." and thereby is constitutionally protected.
As someone who hopes for a usable algorithm for NP (a quasipolynomial with small constants would be fine), I think realize that the encryption is not everything, and benefits (for optimization) would outweight the costs. Honestly it might not even be that a bad world if people can read each others communications.
But for factoring or discrete log specifically.. I don't care that much. You can try to keep it a secret if you want.
No, it won't. You will talk to humans directly for these things. You will have local banks that check your id for anything big. If somebody commits a fraud, people will learn about it and fix it. The payment systems will be less centralized.
It is viable, but might be difficult to imagine.
Just like elections - not everything needs to be computerized. Paper elections work fine, too.
Not really even that difficult to imagine for things like payments. Distribute OTP material in person, and you can still do remote banking. You could even "charge" your phone with a 100 MB of pad material or something. There'd even be a reason to go back to sites that actually work with a few kB of data transfer to cut down on need to recharge, so yeah let's bring on the end of key-based crypto!
How many people are capable of keeping their OTP secure?
How to you invalidate all the OTPs when some bank employee accidentally runs malware an leaks the customers OTP? How fucked is someone trying to do business in another country when this happens?
That is an option. You have a hardware device which generates long random keys and writes them to two identical output devices. The device has no persistent internal memory - just a ROM with the program and the hardware generator. Before every generation it's powered off and on again to clear it.
Such key generators exist, and are used for important government point to point links. Embassy to State Department links work that way. Hackaday has a design you can build.[1] It writes the same random bits to two SD cards.
The end of public key encryption means you can only communicate securely with someone by pre-arrangement. Your bank, yes. Bank to bank,yes. User to random web sites, no.
I had this same thought. How hilarious would it be to have some sort of OTP like a modern digital checkbook? Maybe they'd mail it to you on a USB stick with a tamper proof seal, haha.
Yes yes we can revert to the payments infra of the 50s ... but it's the painful, dramatic contraction such reversion implies that strikes such fear.
One envies the material position of a commenter that blithely accepts (or even awaits?) the largest economic shock of at least the century, if not longer. How impregnable the walls of his compound must be. How deep his stocks of food and fuel. How tightly the bonds of loyalty must tie his security forces to him, to keep their guns pointed outward in exchange for decimated currency.
Once again HN missing the forest for the trees. Such an event would be cataclysmic because it would disrupt all the processes that make the modern world work. Covid showed us that we are the ragged edge of brittle system failure at all times. This would be covid x1000. It would break supply chains, energy markets, food and drug supplies, literally everything. Yes, the entire system could be rebuilt after an event like that but it's the sort of thing that has a whole chapter in the history books. It would be an epoch in the history of modern humanity .
That's how everything worked for most of human history. Trust was based on relationships and face to face stuff. You can still move letters like they always did.
Encryption is almost as old as writing. Some level of symbol replacement, cyphers etc. have existed for thousands of years. Caesar cipher is more than 2000 years old
Sure, but the entirety of society has restructured around the existence of encryption. We can't just smoothly transition back to the way things worked in the 50s without facing major societal fallout. I think commenters here are being idealistic, but realistically the end of encryption would be very dangerous for regular people.
This (potential) result doesn't invalidate all encryption or make it particularly impossible to make a more expensive computational algorithm. We'd simply adjust existing systems. It's really not that big of a deal.
Technological progress and privacy may be diametrically opposed at a fundamental level of reality. If that is the case the future of humanity is going to be really really messy.
We're already at the point that almost all metadata of who is contacting who is known. Knowing who contacted who at which times can start narrowing probabilities to the point that you no longer need exact answers. Get enough metadata and you might as well have actual data as you approach unity.
> That's how everything worked for most of human history
You could say this about computers, vaccines, antibiotics, the haber bosch process, or anything that makes it the modern world. That doesn't mean life as we know it today would be tolerable without those things
I can say that about all of those things, but I am saying that only about (one-way function based) cryptography.
Take a lock on my door. It's trivial to open it without a key. Yet nobody ever did. Why? We have police, cameras, community, and people won't magically become psychos just because a crypto algorithm can be broken faster than bruteforce.
I think people will simply mostly continue to use encryption (like they lock their doors) and take a small risk it will be broken. Maybe the key size will increase 10x, to make the attacker sweat a little. Bigger players (or more risky transactions) will switch to OTP encryption. The Earth will continue turning.
Interestingly enough, cellular mobile networks will become the sole bastion of cryptographic trust--SIM cards store symmetric keys shared only with the telco provider, and no asymmetric crypto is used during authentication or ciphering (unless you count 5G IMSI concealment, which only really gives a little privacy improvement that is trivially breakable by downgrade to LTE anyways).
Right now people only spend a medium amount of resources on factoring, because nobody knows if it's even possible to do it in a way that comprehensively breaks RSA. If it is possible and you publish proof, that changes fast and you'll have others who can do it very quickly, and no guarantee that it doesn't then become public knowledge in short order.
That's still probably the best way to do it, but it's not going to be fun. If you see someone publish a factorization of the challenge number then it's time to drop everything and immediately stop using RSA, to the extent anyone hasn't already.
And then the question is whether the result generalizes to elliptic curves.
Posting a public factorization of RSA-2048 will instantly make you a target of nation states. No matter where you live, you will face the risk of sudden abduction by state-sponsored hacking groups to force you to divulge your algorithm.
Just because factorization is in P, does not mean that you'll have a fast, practical algorithm to actually do the factoring. The constants could be huge, the exponents could be huge. If your algorithm is, say, O(N^32), would it be of any use?
Not that much. I actually figure out how long the exponent could be on a polynomial time for SAT (if P=NP) and it was shockingly low.
I think if SAT was solvable in O(n^8) time, when n is the size of a compact encoding of the SAT problem, but it could really be reduced further, it would actually change much.
Time and again we have found that the exponent in polynomial algorithms can be later optimized to lower exponents. This has happened repeatedly in the history of CS.
Experts have for a long time recommended longer key sizes then 2048 bit RSA. According to "ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)" you need 128 bit symmetric security (about 3248-bit RSA) to protect encrypted messages until year 2042.
"In some applications, e.g. voting, legally binding signatures, protection of state secrets, etc, very high security levels may be needed. As discussed previously, it can be difficult to obtain and maintain such high security levels. Apart from the fact that non-technical issues, outside the scope of this report, tend to matter more, there is also a technical problem appearing. Namely, that is difficult to predict future cryptanalytic advances. "
"For confidentiality it may be more difficult to apply the security process thinking since once confidentiality is lost, it is gone forever. However, additional protection may be offered by multiple encryption, again using sufficiently “different” algorithms. The classical one-time-pad scheme may also be applicable to very high security levels, assuming the key management can be solved."
Replies (9)
In this situation I do not see any realistic option for a US lab that wouldn't involve engaging the NSA, and would be very surprised if this wasn't already the case.
Replies (3)
Replies (2)
all you need == phone jailbreaks == is sold on the open market.
Replies (1)
The NSA tried to regulate cryptography as a munition, capped everyone at 40 bits. They wanted everyone using basic RC4 keys that were known even then to be crackable with basic hardware. Then it was DES.
When Phil Zimmerman released PGP the NSA investigated him for FIVE YEARS. He only avoided conviction because he released the PGP source code as a printed book and didn't put it on the Internet. The Gov had to get sued because cryptography is free speech, and didn't drop the 'export restrictions' until 1999.
The NSA is not there to make YOUR signals secure... quite the opposite!
Replies (2)
Replies (1)
Replies (1)
als people seem to be making a big deal about proving things are harder than expected as much as easier.
Also on my website I also have both of the Bernstein Decisions at https://cryptosystemsjournal.com/bernstein-decisions.html because it was the 1996 decision by Judge Patel that held "...source code is speech for the purpose of the First Amendment ..." and thereby is constitutionally protected.
Tony
But for factoring or discrete log specifically.. I don't care that much. You can try to keep it a secret if you want.
Replies (2)
What? This will render payment infra, private conversations, and more totally unviable. How is that a good world?
Replies (4)
It is viable, but might be difficult to imagine.
Just like elections - not everything needs to be computerized. Paper elections work fine, too.
Replies (4)
Replies (3)
How to you invalidate all the OTPs when some bank employee accidentally runs malware an leaks the customers OTP? How fucked is someone trying to do business in another country when this happens?
Such key generators exist, and are used for important government point to point links. Embassy to State Department links work that way. Hackaday has a design you can build.[1] It writes the same random bits to two SD cards.
The end of public key encryption means you can only communicate securely with someone by pre-arrangement. Your bank, yes. Bank to bank,yes. User to random web sites, no.
[1] https://hackaday.io/project/1569-nsa-away/details
I had this same thought. How hilarious would it be to have some sort of OTP like a modern digital checkbook? Maybe they'd mail it to you on a USB stick with a tamper proof seal, haha.
One envies the material position of a commenter that blithely accepts (or even awaits?) the largest economic shock of at least the century, if not longer. How impregnable the walls of his compound must be. How deep his stocks of food and fuel. How tightly the bonds of loyalty must tie his security forces to him, to keep their guns pointed outward in exchange for decimated currency.
It would be very bad.
Replies (5)
Replies (2)
Na, not really.
Technological progress and privacy may be diametrically opposed at a fundamental level of reality. If that is the case the future of humanity is going to be really really messy.
We're already at the point that almost all metadata of who is contacting who is known. Knowing who contacted who at which times can start narrowing probabilities to the point that you no longer need exact answers. Get enough metadata and you might as well have actual data as you approach unity.
Replies (1)
Take a lock on my door. It's trivial to open it without a key. Yet nobody ever did. Why? We have police, cameras, community, and people won't magically become psychos just because a crypto algorithm can be broken faster than bruteforce.
I think people will simply mostly continue to use encryption (like they lock their doors) and take a small risk it will be broken. Maybe the key size will increase 10x, to make the attacker sweat a little. Bigger players (or more risky transactions) will switch to OTP encryption. The Earth will continue turning.
Replies (2)
Replies (1)
Continue this thread (1 replies) →
One shudders to contemplate.
Replies (1)
That's still probably the best way to do it, but it's not going to be fun. If you see someone publish a factorization of the challenge number then it's time to drop everything and immediately stop using RSA, to the extent anyone hasn't already.
And then the question is whether the result generalizes to elliptic curves.
https://novaramedia.com/2026/11/24/anthropic-staff-openly-ta...
Replies (2)
I think if SAT was solvable in O(n^8) time, when n is the size of a compact encoding of the SAT problem, but it could really be reduced further, it would actually change much.
https://en.wikipedia.org/wiki/RSA_Factoring_Challenge
Experts have for a long time recommended longer key sizes then 2048 bit RSA. According to "ECRYPT II Yearly Report on Algorithms and Keysizes (2011-2012)" you need 128 bit symmetric security (about 3248-bit RSA) to protect encrypted messages until year 2042.
https://cordis.europa.eu/docs/projects/cnect/6/216676/080/de...
Also from the report:
"In some applications, e.g. voting, legally binding signatures, protection of state secrets, etc, very high security levels may be needed. As discussed previously, it can be difficult to obtain and maintain such high security levels. Apart from the fact that non-technical issues, outside the scope of this report, tend to matter more, there is also a technical problem appearing. Namely, that is difficult to predict future cryptanalytic advances. "
"For confidentiality it may be more difficult to apply the security process thinking since once confidentiality is lost, it is gone forever. However, additional protection may be offered by multiple encryption, again using sufficiently “different” algorithms. The classical one-time-pad scheme may also be applicable to very high security levels, assuming the key management can be solved."