Identification of Cryptographic Algorithm Based On Given Cipher Text

Identification of only the encryption algorithm from ciphertext is a challenging problem in cryptography and cryptanalysis. In this research we present a machine learning based method to classify encryption algorithms by extracting statistical features from the cipher text. It creates a dataset based on four symmetric encryption algorithms, namely AES, DES, RC2, and CAST, and on multiple encryptions modes like ECB, CBC, CFB, and CTR. The extracted features (Hamming weight distributions, ciphertext length, entropy-based metrics) are input into several classification models (Logistic Regression, Random Forest, Support Vector Machines, XG Boost, Light GBM and Cat Boost). The experimental outcomes show that XG Boost has the best classification accuracy of 71.0 percent, then Light GBM with 70.87 percent and Cat Boost with 70.73 percent. The results highlight the potential of machine learning to aid in the analysis of symmetric key ciphers and that further improvements in performance can be expected from feature engineering and the application of deep learning techniques. The study makes a contribution to automated methods of cryptanalysis and provides an understanding of the ability to investigate the presence of an encryption scheme and helps in formulating a more sophisticated cryptographic security framework.

Publication Details

Journal
REST Journal on Data Analytics and Artificial Intelligence
Published
2025-05-06
DOI
https://doi.org/10.46632/jdaai/4/1/78
Primary Topic
Chaos-based Image/Signal Encryption
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Identification of Cryptographic Algorithm Based On Given Cipher Text

REST Journal on Data Analytics and Artificial Intelligence
Chaos-based Image/Signal Encryption
article

Identification of Cryptographic Algorithm Based On Given Cipher Text

article en

Abstract

Identification of only the encryption algorithm from ciphertext is a challenging problem in cryptography and cryptanalysis. In this research we present a machine learning based method to classify encryption algorithms by extracting statistical features from the cipher text. It creates a dataset based on four symmetric encryption algorithms, namely AES, DES, RC2, and CAST, and on multiple encryptions modes like ECB, CBC, CFB, and CTR. The extracted features (Hamming weight distributions, ciphertext length, entropy-based metrics) are input into several classification models (Logistic Regression, Random Forest, Support Vector Machines, XG Boost, Light GBM and Cat Boost). The experimental outcomes show that XG Boost has the best classification accuracy of 71.0 percent, then Light GBM with 70.87 percent and Cat Boost with 70.73 percent. The results highlight the potential of machine learning to aid in the analysis of symmetric key ciphers and that further improvements in performance can be expected from feature engineering and the application of deep learning techniques. The study makes a contribution to automated methods of cryptanalysis and provides an understanding of the ability to investigate the presence of an encryption scheme and helps in formulating a more sophisticated cryptographic security framework.

REST Journal on Data Analytics and Artificial IntelligenceVol. 4(1 March 2025)
Openalex Percentile: Top 92%
Chaos-based Image/Signal Encryption
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.