On the Fitness Functions Involved in Genetic Algorithms and the Cryptanalysis of Block Ciphers

Entropy (Basel). 2023 Jan 31;25(2):261. doi: 10.3390/e25020261.

Abstract

There are many algorithms used with different purposes in the area of cryptography. Amongst these, Genetic Algorithms have been used, particularly in the cryptanalysis of block ciphers. Interest in the use of and research on such algorithms has increased lately, with a special focus on the analysis and improvement of the properties and characteristics of these algorithms. In this way, the present work focuses on studying the fitness functions involved in Genetic Algorithms. First, a methodology was proposed to verify that the closeness to 1 of some fitness functions' values that use decimal distance implies decimal closeness to the key. On the other hand, the foundation of a theory is developed in order to characterize such fitness functions and determine, a priori, if one method is more effective than another in the attack to block ciphers using Genetic Algorithms.

Keywords: block ciphers; cryptography; fitness function; genetic algorithm; optimization.

Grants and funding

The research associated with the results presented in this publication received funds from the International Funds and Projects Management Office under the code PN223LH010-024, and also from Red CYTED “NUEVAS HERRAMIENTAS CRIPTOGRAFICAS PARA LA E-COMUNIDAD”.