Remix.run Logo
▲ xoa 4 hours ago

>Is the world anywhere near prepared for cryptography breaking?

I think it's important in the ongoing conversations to be specific. "Cryptography" cannot "break", because if nothing else one-time pads always remain and are unbreakable, since they aren't even conceptually subject to "breaking" (the pad defines, rather than unlocks, the message). AFAIU symmetric ciphers also aren't even in theory subject to anything more than Grover's (if scalable general purpose QC works).

Of course, all present commonly used (and maybe uncommonly used as well) PKI breaking would be a tremendous PITA with a lot of dangerous, destructive, disruptive, and just plain weird effects. But modern storage and tech does make it possible to envision shuffling around keys or even big chunks of entropy in meaningful ways, so we wouldn't go to zero. I suspect it'd promote even more centralization though in many aspects of life, scalable public cryptography has been one of the major persistent power equalizers/decentralizers.

▲pixl97 3 hours ago | parent | next [-]

Mass use of one time pads would require pretty much rewriting the entire worlds communications as we know it.

OTP is a nightmare. The pad must be the same size as the message or larger. We all going to exchange multi-TB sized hard drives?

We lose and have to revoke private keys all the time, OTP turns this into a nightmare situation.

▲Terr_ 2 hours ago | parent [-]

> The pad must be the same size as the message or larger. We all going to exchange multi-TB sized hard drives?

But we'll still have symmetric encryption, right?

I so, the number of securely-couriered bytes is going to be far less, either because it's an already-generated symmetric key, or because it's an OTP the same size which can be used to transmit one in the future. Then the key is used for all the terabytes.

P.S.: That said, reducing the bytes-needed will still leave us with a massive headache: Instead of negotiating a symmetric key as-needed for all visitors (even anonymous ones) a website would need a symmetric key for every visitor... In a way, all website authentication would need to be pre-negotiated offline through some kind of key-registrar middleman with physical branches...

▲GlibMonkeyDeath 2 hours ago | parent | prev | next [-]

Grover's doesn't really even help - there is already a classical sqrt(N) approach if we are only looking for two factors (as in RSA)

▲comeonbro 3 hours ago | parent | prev [-]

In the time it takes to somehow transition from this to that (with the sudden complete absence of any remote secure communication to coordinate anything), civilization will have collapsed and billions will be dead.

▲comicjk 3 hours ago | parent | next [-]

Postal systems provide remote secure communication through physical security. If we had to, we could use them to distribute keys or even one-time pads. (This doesn't mean civilization couldn't collapse in this scenario, but it would help.)

▲wpollock 3 hours ago | parent | next [-]

Governments have been reading postal mail for 100s of years. I recommend "The Codebreakers" by David Kahn, if you want to learn about the history of secret communications.

▲pixl97 3 hours ago | parent | prev [-]

Eh, with the amount of communication we do scaling would be a huge mess. Just the number of people you have to hire would supply ample opportunities for spy employees in the system.

▲ifwinterco 2 hours ago | parent | prev | next [-]

What's the scenario where this happens though?

LLMs realise that in fact P=NP and devise algorithms to break all cryptography? Okay, but that seems unlikely because it requires not just superintelligence but P=NP which almost certainly isn't true?

▲bawolff an hour ago | parent | next [-]

Cryptography rests on a bunch of conjectures that do not imply p=np. The AI could in theory solve one of those.

Also dont forget most of these libraries are written in C, and AI is good at hacking things. There is always the boring old solution of just finding memory safety bugs in everything.

▲Tadpole9181 2 hours ago | parent | prev [-]

Prime factorization may be within P. We have never been able to prove otherwise.

▲ifwinterco 2 hours ago | parent [-]

Right but it seems extremely unlikely, not the base case.

And even if that one specific problem turns out to be in P, most modern cryptography uses elliptic curves anyway?

LLMs are significant, don’t get me wrong, but to break cryptography they have to prove the suspected rules of maths are wrong, not just prove maths that’s already widely assumed to be true.

That’s a very, very different thing

▲bawolff an hour ago | parent [-]

> Right but it seems extremely unlikely, not the base case

I think extremely is pushing it pretty far.

>And even if that one specific problem turns out to be in P, most modern cryptography uses elliptic curves anyway?

Factoring integers and discrete logarithms over elliptic curves are at least related problems. It is plausible that an advance in one would be applicable to the other.

>LLMs are significant, don’t get me wrong, but to break cryptography they have to prove the suspected rules of maths are wrong, not just prove maths that’s already widely assumed to be true.

Did anyone suspect that matric multiplication was Ω(n^2.25) ? we are literally discussing an unexpected result right now. Obviously disproving the RSA conjecture is on a different level, but we are already there on the smaller scale.

Also i think most people thought the ETH hypothesis that AI just disproved was true.

▲ifwinterco 4 minutes ago | parent [-]

It just makes so much intuitive sense (at least to me) that verifying given factors of a number is easier than finding them from scratch.

And the same for related problems - surely verifying a given solution to an enormous maze has to be easier than finding it in the first place?

It's just very very hard to prove because you have to prove a negative - that there isn't one solution in the basically infinite space of possible solutions that disproves it.

But it being hard to prove doesn't mean P=NP and we just haven't found the method yet

▲PhilipRoman 2 hours ago | parent | prev | next [-]

Programmers severely overestimate the consequences of collapse of digital systems. I'm sure there will be chaos and opportunists taking advantage of it, GDP and other numbers will go down, but in a few days we'll just go back to pen and paper. Nothing ever happens. Offline systems will continue to work. You just won't have Reddit, NPM and other wonders of the modern world.

▲Tadpole9181 2 hours ago | parent [-]

Not like a total collapse of secure networks would impact the food growing or distribution system. Or medicine. Or banks. Or manufacturing. Or power/water grids. Or the military. Or the very means a government would need to communicate to it's population.

Because, of course, none of those computers are connected to the internet and are perfectly configured & air-gapped as appropriate, and the systems as a whole were designed for them to never be able to communicate with a centralized server again.

This isn't Outlook being down for a few hours, it would be a sudden shutdown of the entire modern world. It would very likely result in hundreds of millions of deaths, if not billions.

▲fedupnow 3 hours ago | parent | prev [-]

Why...

Y'all gotta stop assuming everyone just wants to kill each other, I dont really see why you'd think this is automatically the outcome, and even if that was the case, not everyone would be capable of this all at once..

▲tiahura 3 hours ago | parent [-]

It only takes a few bad apples

▲pavlovsdoorbell 3 hours ago | parent [-]

yeah but thanks to capitalism if there's money in stealing stuff there's even more money in getting good at not having that stuff stolen, I mean just look a cybersecurity right now, with AI enabling more people than ever to steal data and run penetrations, there is more money than ever in stopping people from doing that.

▲pixl97 3 hours ago | parent [-]

Defense is far harder than offense. You have to keep your item from being stolen/destroyed every time, the attacker only needs to commit till they succeed.

See a particular bridge in Crimea.

▲slopinthebag 2 hours ago | parent [-]

the various recent wars where the defenders have won against much larger and powerful attackers seems evidence to the contrary. you’re taking a single bridge as example, how about that war as a whole?

▲pixl97 2 hours ago | parent [-]

Ukraine was set to disappear under their initial strategy. They turned it around by developing superior and cheaper drone technologies and bringing the battle to Russia.

Russia is the gangsters of gas stations. Once their refineries started exploding they have found themselves in a totally screwed situation. Russia now must import fuel, this is insanity and will bankrupt the country quickly.

Russia has the problem that it has very few friends. Iran is busy with Trumps stupidity. China is providing goods, but it is eyeing Russias vast tracts of land and resources with list. The recent meeting with Xi and Putin should show exactly where Russia stands at the moment.

While what Ukraine has done is really an example of epic heroics, they are dependent on the rest of the world they are friendly with for continuous survival (and damn you to hell Trump for going against them).