Spectral security analysis of cryptographic Boolean functions using discrete mathematical modelling and machine learning
Priya Mathurdrpriyamathur21@gmail.comDepartment of MathematicsPoornima Institute of Engineering & TechnologyJaipur, Rajasthan, 302022, IndiaView full profile → , Pradeep Guptagupta.pradeep85@gmail.comDepartment of Computer Science and EngineeringAjay Kumar Garg Engineering CollegeGhaziabad, Uttar Pradesh, 201015, IndiaView full profile → , K. Nandhininandhukk28@gmail.comDepartment of Computer Science and Engineering (AIML)Sridevi Women’s Engineering CollegeHyderabad, Telangana, 500075, IndiaView full profile → , Lipika Goellipika.bose@gmail.comDepartment of Computer Science and Engineering (AIML)Sridevi Women’s Engineering CollegeHyderabad, Telangana, 500075, IndiaView full profile → , *Satpal Singh KushwahaCorresponding authorsatpal.singh@jaipur.manipal.eduDepartment of Computer Science & EngineeringManipal University JaipurJaipur, Rajasthan, 303007, IndiaView full profile → , Amit Kumar Guptaamit.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-2812
- Pages:
- 3249–3257
Abstract
This study investigates how the structural and spectral properties of Boolean functions influence their susceptibility to machine learning–based cryptanalysis. A comprehensive framework is proposed, combining Boolean function generation, truth table representation, Walsh–Hadamard spectral analysis, and machine learning evaluation. Using a dataset of 2000 functions (linear, balanced, bent-like, and random), results show that higher nonlinearity reduces learnability, while linear functions remain predictable. A strong negative correlation (−0.6499) between nonlinearity and learning accuracy is observed. Functions with large Walsh coefficients are more easily approximated. The findings confirm that machine learning exploits inherent structural weaknesses, aiding the design of more secure, learning-resistant cryptographic primitives.
Keywords
Subject Classifications
References
[1] C. Carlet, Boolean Functions for Cryptography and Coding Theory. Cambridge, U.K.: Cambridge University Press (2021).
[2] C. K. Wu, Boolean Functions and Their Applications in Cryptography. New York, USA: Springer (2016).
[3] O. S. Rothaus, “On bent functions,” Journal of Combinatorial Theory, vol. 20, no. 3, pp. 300–305 (1976).
[4] J. A. Armario, M. Torres, and L. Hernández, “Boolean functions and permanents of Sylvester matrices,” Mathematics, vol. 9, no. 2, pp. 1–15 (2021).
[5] J. Daemen and V. Rijmen, The Design of Rijndael: AES—The Advanced Encryption Standard. Berlin, Germany: Springer-Verlag, ser. Information Security and Cryptography, (2002), doi: 10.1007/978-3-662-04722-4.
[6] L. Franco, “Generalization ability of Boolean functions implemented in feedforward neural networks,” Neurocomputing, vol. 70, pp. 351–361 (2006).
[7] A. Gohr, “Improving attacks on round-reduced SPECK32/64 using deep learning,” in Advances in Cryptology–CRYPTO 2019, Lecture Notes in Computer Science, vol. 11692. Cham, Switzerland: Springer (2019).
[8] S. Wu and W. Wang, “A survey on the applications of artificial intelligence in cryptanalysis and cryptographic design,” Frontiers in Science and Engineering, vol. 5, no. 3, pp. 390–399 (2025).
[9] P. P. Duong, N. T. Nguyen, and H. T. Nguyen, “Constructing 8×8 S-boxes with optimal Boolean function nonlinearity,” Cryptography, vol. 9, no. 4, pp. 1–17 (2025).
[10] L. Rovito, A. De Lorenzo, and L. Manzoni, “Discovering Non-Linear Boolean Functions by Evolving Walsh Transforms with Genetic Programming,” Algorithms, vol. 16, no. 11, Art. no. 499 (2023), doi: 10.3390/a16110499.
[11] M. Djurasevic, D. Jakobovic, L. Mariot, and S. Picek, “A survey of metaheuristic algorithms for the design of cryptographic Boolean functions,” Cryptography and Communications, vol. 15, no. 6, pp. 1171–1197 (Dec. 2023), doi: 10.1007/s12095-023-00662-2.
[12] D. Gerault, A. Hambitzer, M. Huppert, and S. Picek, “Survey: 6 years of neural differential cryptanalysis,” IACR Cryptology ePrint Archive, Paper 2024/1300 (2024).
[13] B. D. Kim, V. A. Vasudevan, R. G. L. D’Oliveira, A. Cohen, T. Stahlbuhk, and M. Médard, “Cryptanalysis via Machine Learning Based Information Theoretic Metrics,” arXiv:2501.15076 (Jan. 2025).
[14] C. Carlet, D. Jakobovic, and S. Picek, “Evolutionary algorithms-assisted construction of cryptographic Boolean functions,” in Proc. Genetic and Evolutionary Computation Conf. (GECCO), Lille, France (Virtual), pp. 565–573 (Jul. 2021), doi: 10.1145/3449639.3459362.
[15] C. Carlet and D. Tang, “A general secondary construction of Boolean functions including the indirect sum and its generalizations,” IACR Cryptology ePrint Archive (2025).
[16] K. Heuser and M. Zohner, “Spectral methods in cryptographic Boolean analysis,” Cryptography and Communications, vol. 13, no. 5, pp. 725–747 (Sep. 2021), doi: 10.1007/s12095-021-00485-6.
[17] M. Erdal and F. Schwenker, “Learnability of the Boolean Innerproduct in Deep Neural Networks,” Entropy, vol. 24, no. 8, p. 1117 (2022).
[18] 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,” Journal of Discrete Mathematical Sciences and Cryptography, vol. 28, no. 5-A, pp. 1473–1486 (Aug. 2025), doi: 10.47974/JDMSC-2146.
[19] P. Mathur, F. Sheth, D. Goyal, and A. K. Gupta, “Deep insight: Mathematical modeling and statistical analysis for mango leaf disease classification using advanced deep learning models,” Journal of Interdisciplinary Mathematics, vol. 27, no. 2, pp. 317–342 (2024).
[20] 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,” Journal of Interdisciplinary Mathematics, vol. 26, no. 3, pp. 551–562 (2023).




