Constructing Complete Permutations via the D-Class of Locally Crooked Permutations
This paper introduces the D-class of permutations over to characterize and construct complete permutations via local conjugations, establishing their algebraic properties, cryptographic bounds, and CCZ-inequivalence while presenting algorithms that successfully enumerate new complete permutations.
Original paper licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer
In the hidden architecture of modern digital security, there exists a class of mathematical objects known as complete permutations. These are not merely random shuffles of numbers; they are highly structured rearrangements where the act of moving an item to a new position and the act of moving it to a position that is the sum of its old and new locations both result in perfect, non-overlapping order. This dual requirement is crucial for the design of substitution boxes, or S-boxes, which are the primary components in encryption systems that scramble data to hide its meaning. If these components are too predictable, the encryption can be broken; if they are too chaotic, they become inefficient. The challenge for cryptographers has long been to find the sweet spot: permutations that are complex enough to resist sophisticated attacks yet structured enough to be implemented quickly.
A recent study by Li Shuai of Ningxia University tackles this challenge by exploring a specific family of these permutations through a lens of geometric symmetry. The research focuses on a property called "local crookedness," which describes how a permutation behaves when its input is shifted by a specific amount. The author introduces a new category of these functions, defined by a specific pattern in how their outputs change. By treating these functions as elements of a larger group that can be transformed by shifting, rotating, or swapping specific parts of the data, the study maps out a landscape of possibilities. The goal was to see if moving within this landscape could generate new, superior permutations that offer better protection against differential cryptanalysis, a method where attackers study how small changes in input affect the output to deduce the secret key.
The core of the work involves a construction chain that starts with a known, well-behaved permutation and applies a series of precise algebraic operations to create new ones. The author defines a specific set of rules, or a "D-class," that these permutations must follow to remain valid. Within this set, the researcher proves that the collection of "lifted" permutations—those that have been extended from a smaller space to a larger one—possesses a unique rigidity. If one tries to change a single permutation using just one type of operation, such as a simple shift or a linear rotation, the result usually fails to remain a valid complete permutation. However, the study demonstrates that combining two different operations in a specific sequence breaks this rigidity. This combination allows the researcher to navigate the space of possibilities, moving from one valid permutation to another without losing the essential properties required for security.
To make this theoretical framework practical, the paper develops two distinct algorithms. The first is a backtracking search that builds a complete permutation from scratch, ensuring at every step that the dual ordering requirements are met. The second is a greedy local search that starts with an existing permutation and attempts to improve it by applying the combined operations described earlier. This second algorithm acts like a climber seeking a higher peak: it tests various small modifications, but only accepts a change if it strictly improves the cryptographic quality of the permutation. The quality is measured by two main indicators: differential uniformity, which counts the worst-case frequency of output patterns, and nonlinearity, which measures how far the function is from being a simple linear equation. Lower differential uniformity and higher nonlinearity are generally better for security.
The researchers tested these methods on a specific mathematical space of size 32, which corresponds to a 5-bit system. Starting from a simple, linear permutation that was known to be weak, the greedy search algorithm was run one hundred times. The experiments yielded several permutations with a differential uniformity of 4, a significant improvement over the starting value of 32. The study also began with one hundred randomly generated permutations and applied the same search process. Again, the algorithm consistently found permutations with a differential uniformity of 4. The results were not just about finding better numbers; the new permutations possessed distinct "spectra," or patterns of output frequencies, that were different from each other and from the starting point. This proves that the method does not just produce variations of the same object but genuinely discovers new, distinct classes of secure permutations.
One of the most striking findings concerns the relationship between these new permutations and a famous class of functions known as APN (Almost Perfect Nonlinear) functions. Historically, many constructions of secure permutations have relied on starting with these APN functions. However, the study found that the permutations generated by this new local-conjugation method, while having the same excellent differential uniformity of 4, are CCZ-inequivalent to those derived from the classic APN approaches. In fact, a reference permutation based on a well-known APN function performed worse in this specific test, with a differential uniformity of 8. This suggests that the new method explores a different region of the mathematical landscape, uncovering high-quality permutations that were previously inaccessible to standard construction techniques.
The paper concludes by proposing a conjecture based on the experimental evidence: that the entire space of these lifted permutations is connected. In other words, it appears possible to reach any valid permutation in this family from any other by following a path of these specific local modifications. While this connectivity has not been mathematically proven, the fact that the search algorithm consistently found high-quality solutions from diverse starting points provides strong preliminary support for the idea. The study also leaves open the question of whether this specific family of permutations contains functions that are even stronger than the ones found, potentially reaching the theoretical limit of security known as APN. For now, the work provides a robust new toolkit for generating secure permutations, demonstrating that by understanding the local symmetries of these mathematical objects, one can construct better defenses for the digital world.
Drowning in papers in your field?
Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.