Machine Learning for RSA Cryptanalysis: Assessing Key Strength

RSA is one of the most used public-key cryptographic algorithms, and its security essentially depends on the size of the key and the proper generation of the key. As the power of computing grows and quantum threats emerge, identifying weaknesses in the RSA key structures becomes important to transition toward post-quantum cryptography. The paper presents a machine learning-based cryptanalysis approach to assess the strength of the RSA key and detect weak keys. Using a dataset of RSA key attributes, we extract features such as Modulus Bit Length, Private Exponent Bit Length, and Entropy to train various classification models, including Support Vector Machines (SVM), Random Forest, XGBoost, and Multi-Layer Perceptron (MLP). Our experimental results show that Modulus Bit Length is the dominant factor in determining RSA key strength, with models achieving near-perfect classification accuracy. It indicates that RSA weaknesses can be systematically exploited with techniques of machine learning, and thus transitioning to post- quantum cryptographic alternatives is urgent. This work was related to machine learning in cryptanalysis and gave insights on how cryptographic security can be assessed against rising computational threats.

Authors

Institutions

Publication Details

Published
2025-03-27
DOI
https://doi.org/10.1109/icfts62006.2025.11031789
Primary Topic
Cryptography and Residue Arithmetic
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Machine Learning for RSA Cryptanalysis: Assessing Key Strength

J Thirunavukkarasu, G. Vennira Selvi, Raj Sethuraman, K. Venkat et al.
Cryptography and Residue Arithmetic
article

Machine Learning for RSA Cryptanalysis: Assessing Key Strength

J Thirunavukkarasu, G. Vennira Selvi, Raj Sethuraman, K. Venkat, Kirthana Mohan R, J. Thiyagarajan
article en

Abstract

RSA is one of the most used public-key cryptographic algorithms, and its security essentially depends on the size of the key and the proper generation of the key. As the power of computing grows and quantum threats emerge, identifying weaknesses in the RSA key structures becomes important to transition toward post-quantum cryptography. The paper presents a machine learning-based cryptanalysis approach to assess the strength of the RSA key and detect weak keys. Using a dataset of RSA key attributes, we extract features such as Modulus Bit Length, Private Exponent Bit Length, and Entropy to train various classification models, including Support Vector Machines (SVM), Random Forest, XGBoost, and Multi-Layer Perceptron (MLP). Our experimental results show that Modulus Bit Length is the dominant factor in determining RSA key strength, with models achieving near-perfect classification accuracy. It indicates that RSA weaknesses can be systematically exploited with techniques of machine learning, and thus transitioning to post- quantum cryptographic alternatives is urgent. This work was related to machine learning in cryptanalysis and gave insights on how cryptographic security can be assessed against rising computational threats.

Sri Ramachandra Institute of Higher Education and Research (IN), Sathyabama Institute of Science and Technology (IN)
Openalex Percentile: Top 80%
Cryptography and Residue Arithmetic
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Machine Learning for RSA Cryptanalysis: Assessing Key Strength — J Thirunavukkarasu, G. Vennira Selvi, et al. · (2025) | TGRS Research Map | TGRS