University of Guelph
AI-Based Cryptanalysis of RSA Using Transformer Models and Quantized Fully Connected Neural Networks
Abstract
dc:description.abstractRSA’s security rests on the difficulty of prime factorization with its modulus, yet recent advances in machine learning and quantum computing invite new potential forms of attack. This study reframes RSA decryption as a supervised-learning task and tests three model families: Fully Connected Neural Networks (NNs), Transformer architectures, and Hybrid Quantum-classical Neural Networks (HQNNs), using only public parameters. Nine curated datasets vary the modulus, exponent, and plaintext range; two input pipelines, Bit-by-Bit and Direct Bit-stream Processing, expose sequence-level versus bit-level learning behavior. HQNNs, trained per bit, attain up to 85.9% subset accuracy, surpassing classical NNs. Transformers reach 20.1% on tightly constrained sets but degrade as plaintext length grows, while fully connected NNs scale poorly beyond structured inputs. The results show that partial plaintext recovery is feasible without factorization, challenge assumptions about RSA’s one-way nature in restricted settings, and highlight HQNNs as a promising direction for data-driven cryptanalysis.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Department thesis:degree_department
- School of Computer Science
- Grantor dc:publisher
- University of Guelph
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Saravanan, Vaideeshwaran
- Advisor dc:contributor.advisor
-
- Obimbo, Charlie
Subjects
dc:subject × 3Rights
dc:rights- Statement dc:rights
-
- Attribution-ShareAlike 4.0 International
- Licence dc:rights.uri
- Language dc:language.iso
- en
Identifiers
dc:identifier.*- Dc Identifier Citation
-
Vaideeshwaran Saravanan, Charlie Obimbo, and Fatemeh Khoda Parast. A Prototype of Plaintext Recovery Attack Against RSA Cryptosystem Using Neural Networks. International Conference for Internet Technology and Secured Transactions (ICITST-2024), pages 199 – 203, 2024. DOI: 10.20533/ICITST.2024.0017
Vaideeshwaran Saravanan, Charlie Obimbo, and Fatemeh Khoda Parast. Advancing the RSA Cryptanalysis: An Experimental Demonstration of Plaintext Recovery Using Neural Networks. Journal of Internet Technology and Secured Transactions (JITST), 12(1):1 – 6, 2024. Accessed from Infonomics Society. DOI: 10.20533/jitst.2046.3723.2024.0102