A graph-theoretic discrete mathematical model for cryptanalysis of classical ciphers using spectral transition network analysis
Priya Mathurdrpriyamathur21@gmail.comDepartment of MathematicsPoornima Institute of Engineering & TechnologyJaipur, Rajasthan, 302022, IndiaView full profile → , *Amit Kumar GuptaCorresponding authoramit.gupta@jaipur.manipal.eduDepartment of Computer Science & EngineeringManipal University JaipurJaipur, Rajasthan, 303007, IndiaView full profile →
* Corresponding author · click or hover a name for details
- Received:
- 01 Mar 2026
- Published Online:
- 14 Aug 2026
- Article type:
- Research Article
- Language:
- EN
- Article no.:
- JDMSC-2815
- Pages:
- 3279–3294
Abstract
Cryptanalysis plays an essential role in evaluating the robustness and reliability of cryptographic systems used for secure communication. Traditional cryptanalysis methods primarily rely on statistical and algebraic techniques to analyze encryption algorithms; however, recent advancements in data science and network analysis have introduced new mathematical approaches for studying encrypted data. This paper proposes a graphtheoretic cryptanalysis framework based on transition network analysis for detecting structural differences between plaintext and classical cipher texts. In the proposed approach, textual sequences are modeled as directed weighted -graphs, where nodes represent alphabet characters and edges represent transitions between consecutive symbols. Spectral and structural properties of the resulting graphs are extracted using matrix representations such as adjacency and Laplacian matrices. These features, including spectral radius, algebraic connectivity, spectral entropy, graph energy, density, clustering coefficient, and centrality measures, are used to construct a feature vector representing the structural characteristics of the text network. An ensemble machine learning classifier combining Random Forest and Gradient Boosting algorithms is employed to classify plaintext and ciphertext samples. Experimental results obtained from a dataset of 6000 text samples with a 15-dimensional feature vector demonstrate that the proposed method achieves a classification accuracy of 74.72% with a recall of 1.0 and an F1-score of 0.8553. The findings indicate that transition network analysis provides a promising mathematical framework for detecting encryption patterns and analyzing cryptographic structures using graph theory and machine learning techniques.
Keywords
Subject Classifications
References
[1] D. Sensarma, “Applications of graph theory in quantum cryptography: A review,” International Research Journal of Modernization in Engineering Technology and Science, vol. 7, no. 11, pp. 1764–1772 (Nov. 2025), doi: 10.56726/IRJMETS84860.
[2] S.-Y. Chang and Q. Khan, “Post-quantum cryptography in networking protocols: Challenges, solutions, and future directions,” Cryptography, vol. 10, no. 1, Art. no. 12 (Feb. 2026), doi: 10.3390/cryptography10010012.
[3] B. D. Kim, V. A. Vasudevan, R. G. D’Oliveira, A. Cohen, T. Stahlbuhk, and M. Médard, “Cryptanalysis via machine learning based information theoretic metrics,” arXiv preprint arXiv:2501.15076 (2025).
[4] Y. Banu, B. K. Rath, and D. Gountia, “Analyzing cryptographic algorithm efficiency with in graph-based encryption models,” Frontiers in Computer Science, vol. 7, Art. no. 1630222 (Jul. 2025), doi: 10.3389/fcomp.2025.1630222.
[5] Y. Song, “Privacy-preserving and verifiable spectral graph analysis in the cloud,” Scientific Reports, vol. 15, Art. no. 16237 (2025), doi: 10.1038/s41598-025-98432-y.
[6] A. Raza and M. M. Munir, “Laplacian spectra and structural insights: Applications in chemistry and network science,” Front. Appl. Math. Stat., vol. 11, Art. no. 1519577 (2025).
[7] S. Goel, “Spectral graph theory for community detection in large-scale social networks: A mathematical framework,” Int. J. Appl. Math., vol. 38, no. 6S, pp. 31–48 (2025).
[8] F. I. Hairuddin, S. Azri, and U. Ujang, “Managing spatiotemporal evolution of lifecycle event in graph database for asset maintenance,” in Innovations in Geospatial Technology for Sustainable Smart City Development. Cham, Switzerland: Springer Nature, pp. 219–245 (2026).
[9] D. Gérault, A. Hambitzer, M. Huppert, and S. Picek, “SoK: 5 Years of Neural Differential Cryptanalysis,” IACR Cryptology ePrint Archive, Paper 2024/1300 (2024).
[10] A. Raza and M. M. Munir, “Laplacian spectra and structural insights: Applications in chemistry and network science,” Front. Appl. Math. Stat., vol. 11, Art. no. 1519577 (2025).
[11] W. Stallings, Cryptography and Network Security, 8th ed. Hoboken, NJ, USA: Pearson (2020).
[12] D. R. Stinson and M. B. Paterson, Cryptography: Theory and Practice, 4th ed. Boca Raton, FL, USA: CRC Press (2019).
[13] J. Satish Kumar, B. Archana, and K. Muralidharan, “Spectral graph theory: Eigenvalues, Laplacians and graph connectivity,” Metall. Mater. Eng., vol. 30, no. 2, pp. 1–12 (2024).
[14] A. Raza and M. M. Munir, “Laplacian spectra and structural insights: Applications in chemistry and network science,” Frontiers in Applied Mathematics and Statistics, vol. 11, Art. no. 1519577 (2025), doi: 10.3389/fams.2025.1519577.
[15] J. Kunegis, “Exploiting the structure of bipartite graphs for algebraic and spectral graph theory applications,” Internet Mathematics, vol. 11, no. 3, pp. 201–321 (2015), doi: 10.1080/15427951.2014.958250.
[16] X. Song, C. Dalfó, M. A. Fiol, and S. Zhang, “On the algebraic connectivity of token graphs and graphs under perturbations,” arXiv preprint arXiv:2412.21021 (2024).
[17] A. Raza and M. M. Munir, “Laplacian spectra and structural insights: applications in chemistry and network science,” Frontiers in Applied Mathematics and Statistics, vol. 11, Art. no. 1519577 (2025), doi: 10.3389/fams.2025.1519577.
[18] H. Felippe, F. Battiston, and A. Kirkley, “Network mutual information measures for graph similarity,” Communications Physics, vol. 7, no. 1, Art. no. 335 (2024), doi: 10.1038/s42005-024-01830-3.
[19] Y. Indrani, “Spectral properties of graphs: Insights into eigenvalues and graph energy,” Int. J. Adv. Res. IT Eng., vol. 7, no. 6 (2024).
[20] A. Jha, “Redefining network topology in complex systems: Merging centrality metrics, spectral theory, and diffusion dynamics,” arXiv preprint arXiv:2503.21709 (2025).
[21] T. Hastie, R. Tibshirani, and J. Friedman, The Elements of Statistical Learning: Data Mining, Inference, and Prediction, 2nd ed., Springer Series in Statistics. New York,USA: Springer (2009), doi: 10.1007/978-0-387-84858-7.
[22] A. Noonia, D. Thakral, P. Mathur, F. Sheth, H. Shaikh, and A. K. Gupta, “A discrete mathematical model and cryptography for secure medical image analysis: Encrypted chest X-ray classification,” J. Discrete Math. Sci. Cryptogr., vol. 28, no. 5-A, pp. 1473–1486 (2025).
[23] R. Joshi, P. Mathur, A. K. Gupta, S. Singh, V. Paliwal, and S. Nayar, “Mathematical modeling of intelligent system for predicting effectiveness of premenstrual syndrome,” J. Interdiscip. Math., vol. 26, no. 3, pp. 551–562 (2023).




