How Quantum Period Finding Breaks Rivest Shamir Adleman Algorithms

Published: 17 Jan 2026, Last Modified: 17 Jan 2026TIME 2026 OralEveryoneRevisionsBibTeXCC BY 4.0
Keywords: Rivest Shamir Adleman (RSA) Algorithm, Shor’s Algorithm, Dictionary- Based Quantum Simulation, Post-Quantum Cryptography, Web Security, Responsible Web AI
TL;DR: Quantum Period Finding Breaks RSA Algorithms
Abstract: The Rivest Shamir Adleman (RSA) algorithm underpins much of modern digital security. It protects messages, passwords, and web services. However, advances in quantum computing pose a long-term threat to RSA, as quantum algorithms can exploit its mathematical structure. In this paper, we analyze how quantum computation can undermine the RSA algorithm using an explainable, dictionary-based quantum emulation framework. In this approach, each quantum state is represented as dict[π‘˜] = π‘Ž, where π‘˜ is a bitstring and π‘Ž is a complex amplitude, enabling transparent tracking of quantum state evolution. We emulate key quantum gates through updated rules. The Hadamard gate creates superposition by splitting dictionary keys; phase gates modify amplitudes via complex rotations; and controlled-X and Toffoli gates perform conditional bit flips. These operations are consistent with standard quantum gate behaviour while remaining easy to analyse. We defined RSA variables such as prime_p, prime_q, modulus_n, public_key_e, private_key_d, cipher_c, input_x, and period_r. We demonstrated how quantum processes can identify periodic structure, factor the modulus, and recover the private key. By revealing the full attack path, this research provides an interpretable view of quantum threats to the RSA algorithm. The proposed framework supports a useful understanding of quantum security risks. It also highlights the importance of transitioning toward post-quantum cryptographic systems that ensure long-term security for all users.
Submission Number: 10
Loading