2692815517, 234d1705p005, 888670034033, 829160897561, 2178848984, 10199005007, 79100925025, 721110253680, 73149136510, 16034025050, 31700049716, 2085144125, 18006984431, 2511453c1, 885609010823, 31700058169, 850251004254, 18443295283, 2534596200, 18336510446, 18337232503, 3093226458, 3017668708, 787651122533, 2315981817, 31700049532, 18884093448, 18332147629, 829610004143, 78742431673, 31262103048, 2034462948, 2137721984, 2097308073, 2097308075, 885609027395, 2566296248, 28400071895, 9781338137200, 2138179751, 2485500855, 7398148949, 48867312249, 689604187586, 3029989192, 92636254315, 89991626505, 18337232505, 2677037088, 18009320783, 54000101830, 16000172838, 856603005566, 3023918217, 298389670, 223664791, 2emh01921, 0x82785cf5d11a1feaf80f9db18b40f49268df3d32, 2087834544, 752356829308, 53891106368, 2705139922, 2076077884, 30400793950, 18009473131, 19039009475, 2084883263, 3034919608, 2014466625, 31700049969, 25000040986, 3093200054, 43917101057, 2293540013, 2096458266, 18558722243, 16462258672, 4612193, 18665375162, 2532360471, 808829115628, 2244743167, 2172133410, 18005835698, 2532874460, 2133172858, 3039701007, 18008994047, 18005471743, 817783020404, 18335952214, 44600307138, 813094021840, 2098706700, 2093065739, 1.800.323.9895, 2109886107, 2052240982, 18005567677, 2819255000, 2252394689, 193052027610, 49694993922, 605388024374, 752356824174, 35000740182, 2144534248, 18002769939, 18774489544, 2133443356, 18003972944, 745883784301, 4895176111263, 3017592438, 37000908166, 2012496394, 18.84x18.84, 38675200623, 18773279515, 2035330874, 8274005806, 2199348320, 18004240948, 16146861627, 19148824329, 18005528159, 3107612797, 2097308079, 43935682583, 18882088843, 36504752404, 2622635147, 3078003491, 2032960056, 2148842495, 18008723377, 41458105688, 2153094295, 747599409943, 2148455505, 18883352722, 73149719690, 18003917635, 2512930806, 308978992, 887758092095, 37000822189, 18005537499, 2103618931, 79100149476, 81287038450, 47875323797, 608883000027, 3025494703, 2819685738, 2emh01720, 2154788344, 18003921147, 9800120482, 2678764652, 1a406030000678a000011570, 2814076944, 80196300108, 843461100793, 2568674634, 18336505789, 18004477228, 660708552029, 9800892259, 3107546969, 191174xl, 2195460014, 851861006867, 2097219669, 3054000750, 33500925528, 11120236637, 2136461453, 76828005015, 253.2843281, 3022006842, 18004801045, 37000829126, 3055749896, 3047699880, 305210042223, 2085153325, 18884135067, 18882183919, 17632994345, 2512923034, 3039807300, 9800895007, 2067054013, 885954560493, 2629998017, 3052798222, 3092705002, 31700054543, 18002762722, 17800136402, 18003040282, 2074303836, 295205521, 70183500420, 18335490757, 3059670629, 737416099440, 18556608899, 3055956200, 2674330213, 89121288122, 18664674300
General

Quantum Algorithms and Their Implications for Modern Encryption

Not every quantum algorithm is a threat to encryption, and knowing which are important matters more than many think when signaling through the noise around quantum computing. There are only two algorithms that really deserve the hype: Shor’s and Grover’s. Both were imagined decades before the advent of quantum computers capable of running them at scale. Yet they already influence how security teams think about the future of every currently deployed cryptographic system that protects data.

Quantum algorithms and the risks of encryption provide a clear overview of why these two mathematical procedures, among all the quantum algorithms researchers have studied, have a direct bearing on cryptography.

Shor’s Algorithm and the Public-Key Problem

Peter Shor invented his algorithm (now known as Shor’s algorithm) in 1994, and it has proven to be one of the most impactful results in computer science ever published in an academic paper because of what it enables. Most importantly, the type of public-key cryptography that secures web traffic, digital signatures, and secure key exchange relies on mathematical problems that are extremely hard for classical computers to solve, namely factoring large numbers and computing discrete logarithms. On a sufficiently powerful quantum computer, Shor’s algorithm solves both of these problems with polynomial time complexity. It therefore renders the mathematical underpinnings of crypto systems like RSA (numbers), Diffie–Hellman (discrete logarithms), and elliptic-curve cryptography irrelevant once such a machine is built.

A large part of this speedup traces back to a subroutine called the quantum Fourier transform, which has itself spurred continuing research even beyond cryptography. In Coverage explaining this one root mechanism, the quantum heart of Shor’s algorithm shows how the mathematical operation below remains central to breakthroughs in Shor’s algorithm and has been adaptive for decades since his original invention, spurring new research in quantum study.

Why Shor’s Algorithm Is A Break, Not a Weakness

Unlike competing cryptographic threats, what makes Shor’s algorithm so different is precisely the type of break it fears. The majority of cryptanalytic breakthroughs weaken security by small degrees, requiring a switch to somewhat larger keys or slightly modified parameters. Shor’s algorithm does something distinctly different: When a quantum computer, scaled to run Shor in practice, exists, RSA and elliptic-curve cryptography cease to provide any meaningful security for any key size we might deem practical. That is unlike some other threats in cryptography, where one can simply double the key length as compensation.

This difference is precisely why public-key cryptography has been the main target of post-quantum migration activities. These algorithms, vulnerable to Shor’s algorithm, cannot be patched incrementally but instead require a shift to entirely new mathematical approaches to which Shor’s algorithm does not apply.

Grover’s Algorithm and the Symmetric Key Problem

A different type of problem is solved by Grover’s algorithm, which was developed by Lov Grover in 1996. This means brute-force key search in cryptography, which involves testing all possible keys until one works. Using Grover’s algorithm, one can achieve a quadratic speedup over classical brute-force search, meaning that a quantum computer could search a symmetric key space in about 1/√(time required by its classical counterpart).

At first, this sounds scary, but the actual effect is far more limited than that of Shor’s algorithm. A symmetric key that would take an impractically long time to brute-force classically is effectively immune even with Grover’s quadratic speedup, again so long as the key is sufficiently large. It is this doubling in the key length that restores the original margin of security, so that AES-256 continues to be viewed as safe against Grover’s algorithm, despite research efforts focused on adequately preparing for a post-quantum future.

Reason for the grouping of these two algorithms

Loosely categorized, both Shor’s and Grover’s algorithms are often grouped when discussing quantum risk. Still, they should be considered two distinct classes of threat that require different responses to mitigate their effects. For public-key algorithms potentially threatened by Shor’s algorithm, it’s a full mathematical replacement: an entirely new class of problems on which quantum computers perform poorly, and that can be effectively used for cryptography. For symmetric algorithms that Grover’s algorithm threatens, it is simply a matter of larger key sizes. Many enterprises can achieve this much less drastic change without overhauling their entire cryptographic infrastructure.

It trains educators to create materials that make quantum algorithms widely accessible, suggests a beginner’s primer on quantum algorithms, and lists the core foundation of any serious discussion in the field, including cryptography: Shor’s factoring algorithm and Grover’s search algorithm.

What Does This Distinction Mean for Migration Priorities

The direct, practical implications that arise from a clear understanding of the nature of these two classes of threats inform how organizations should sequence their efforts to transition to using quantum-resistant functionality across their operations. The attack vector provided by Shor is particularly problematic for public-key algorithms used in systems that contain data to be protected, and that needs to remain encrypted for many years (the “harvest now, decrypt later” risk), and this cries out for action. Symmetric encryption against Grover’s algorithm is a little less urgent (because the mathematical problem it relies on has withstood previous forms of quantum attack, and ‘overlapped’ with brute-force attacks can be defended through basic scaling of key sizes), but still worth answering.

Properly prioritizing these two prevents the twin errors of running every cryptographic system through the same hourglass (spreading already-thin resources too far) or effectively dismissing quantum as an impending threat across the board, if symmetric encryption seems far afield from severe short-term danger and public-key systems aren’t viewed in this light.

Frequently Asked Questions

Does a quantum computer exist today that could run this?

Current quantum computers are not powerful enough to run Shor’s algorithm — and even if they were, they’d need error correction to operate on cryptographically relevant key sizes — although estimates of when such a machine might exist range widely among experts.

Should we give up asymmetric encryption like AES because of Gof Rover’s algorithm?

Answer: No, Grover’s algorithm only slightly lowers the effective strength of symmetric encryption (with AES-256 considered reasonably secure even against quantum brute-force attacks).

Why Does Shor’s Algorithm Non-Affect RSA but AES?

The nature of Shor’s algorithm also targets two main mathematical problems at the heart of public-key cryptography: factoring and discrete logarithms, which RSA depends on directly. AES is a symmetric algorithm with an entirely different mathematical basis, against which Shor’s algorithm does not work.