Back to search

University of Guelph

AI-Based Cryptanalysis of RSA Using Transformer Models and Quantized Fully Connected Neural Networks

Abstract

dc:description.abstract

RSA’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 × 3

Rights

dc:rights
Statement dc:rights
  • Attribution-ShareAlike 4.0 International
Language dc:language.iso
en

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Guelph
Base URL
atrium.lib.uoguelph.ca/server/oai/request
Last updated
2026-11-19
Source record
OAI-PMH GetRecord
citation

Saravanan, Vaideeshwaran. AI-Based Cryptanalysis of RSA Using Transformer Models and Quantized Fully Connected Neural Networks. University of Guelph, https://hdl.handle.net/10214/29074