{'fraction_non_alphanumeric': 0.02610966057441253, 'fraction_numerical': 0.0, 'mean_word_length': 5.318681318681318, 'pattern_counts': {'":': 0, '<': 0, '<?xml version=': 0, '>': 0, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
WHS Cost Function for Generating S-boxes

Nonlinear substitution boxes (S-boxes) use in most modern symmetric cryptoalgorithms. They are designed to mix input data and take the essential part in ensuring resistance against known cryptoanalytic attacks (differential, linear, algebraic and other methods of cryptoanalysis). However, the random formation of nonlinear substitutions with the required rates is an extremely complex mathematical problem. We observe the heuristic techniques of S-boxes informed search, in particular, we consider the cost function used in most known algorithms (eg, local search, gradient lift, annealing simulation, genetic search, etc.). The purpose of our research is to determine the specific parameters of the heuristic function, which on the one hand do not reduce the degree of awareness of search nodes, and on the other hand do not require significant computational costs. We investigate the influence of individual parameters on the value of the cost function and on the complexity of its calculation. We also provide specific recommendations for the formation of parameters for the heuristic search of S-boxes.