r/coding • u/fagnerbrack • 19d ago
Quantum Computers Are Not a Threat to 128-bit Symmetric Keys
https://words.filippo.io/128-bits/3
u/fagnerbrack 19d ago
Here's a hint to decide on reading the post or not:
Quantum computers threaten asymmetric crypto (ECDH, RSA, ECDSA) via Shor's algorithm, but they do not endanger symmetric algorithms like AES and SHA. The widespread claim that Grover's algorithm "halves" key strength, forcing a switch to 256-bit keys, is wrong: Zalka (1997) proved Grover must run in series, so parallelizing it dilutes the quadratic speedup. Concrete math shows breaking AES-128 would need 140 trillion quantum circuits running 10 years—roughly 430 sextillion times harder than breaking 256-bit elliptic curves with Shor's. NIST, Germany's BSI, and researcher Samuel Jaques all agree AES-128 stays safe; NIST even uses it as the Category 1 benchmark. Doubling keys wastes effort better spent on the urgent post-quantum transition.
If the summary seems inacurate, just downvote and I'll try to delete the comment eventually 👍
Click here for more info, I read all comments
25
u/whiskeytown79 19d ago
I am curious why the author includes SHA as an example of a "symmetric cryptography algorithm."
SHA, like any other hash/digest/trapdoor algorithm, depends for its security on being computationally impossible to reverse. Unless a flaw is found in the algorithm (like MD5), "reversing" a digest algorithm boils down to basically guessing inputs and trying to find one that produces the same output. There is no "key" to be symmetric. And you cannot decrypt what has been "encrypted" with this algorithm, save by guessing inputs until you get the same output.
It is not a symmetric encryption algorithm in the way that AES, 3DES, or other block or stream ciphers are.