r/computerscience • • 23d ago

General Are Diffie hellman and rsa irrelevant to cryptography mathematically, theoretically, and experimentally in the post quantum age? Will they be replaced?

Replaced in general like completely replaced. Also do they have no influence on any post quantum cryptography, does the post quantum cryptography only take up space that they used to fill

17 Upvotes

8 comments sorted by

20

u/Cornflakes_91 23d ago

there is post quantum diffie hellman key exchange.

it just got a modification and works just fine.

2

u/bts 22d ago

But it uses ML-KEM for the session secret—not a DH exchange—and typically uses ECC for long term signatures—it's a transitional protocol for a world without cryptographically relevant quantum computers yet. See https://signal.org/docs/specifications/pqxdh/pqxdh.pdf, section 4.8.

8

u/kevleyski 23d ago

Largely any problem that can be split up and solved in a divide and conquer approach where the number of divisions becomes near infinite is in trouble from brute force algorithms 

Irrelevant no! or  least not for a very long time as the access to such technology even if it existed today likely won’t be in everyday affordable use case like this

Similar to SSL having export licenses there are are already qbit limits and all sorts of hurdles too

4

u/Headsanta 23d ago

Largely any problem that can be split up and solved in a divide and conquer approach...

I don't think this is precise enough. For example, to me 3-SAT fits this as a problem where you could try to brute force it by branching and exploring in different directions in parallel.

From OpenAI we even know now this can be solved faster than exponential time, even though it is an exponential search space for a solution.

However, I don't think Quantum computing puts problems like this in trouble. Speedups, like Grover's algorithm, still don't make the problem tractable.

3

u/Headsanta 23d ago

tl;dr your first statement describes problems in NP in my mind, but Quantum computing helps with problems in BQP, which are not believed to be equal sets.

0

u/kevleyski 23d ago

My original sentence implied the general case around unstructured search (all NP benefit according to Grover but with limits) A quantum computer is a very good ear. It can hear a note. It can't hear a secret in random noise, many hard puzzles are random noise (the structure Shor exploits around abelian periodicity is rare and specific)

2

u/nextgenfusion 19d ago

Short version: Shor's algorithm breaks both RSA and finite-field/elliptic-curve Diffie-Hellman once a large enough quantum computer exists, so for key exchange and signatures they do get replaced, but not because the ideas were wrong. The NIST replacements are ML-KEM (Kyber) for key establishment and ML-DSA / SLH-DSA for signatures, and what's actually deployed in TLS today is mostly hybrid, e.g. X25519 + ML-KEM, so the session stays safe as long as either piece holds. A lot of the theory you learn from RSA/DH carries straight over: the KEM framing, IND-CCA definitions, Fujisaki-Okamoto style transforms that turn a weak scheme into a CCA-secure one. And symmetric crypto mostly survives, AES-256 and SHA-2/SHA-3 are fine since Grover only gives a square-root speedup.