In a significant development for cryptographic research and finite field theory, a new study has shed light on a long-standing mathematical puzzle concerning the exact number of quadratic almost perfect nonlinear (APN) functions in dimension eight. Emanuele Bellini, a researcher at the Technology Innovation Institute, has released a comprehensive paper titled "How many quadratic APN functions are there in dimension eight?" which details a novel computational approach to solving this complex problem. The findings offer unprecedented insight into the landscape of cryptographic functions, potentially reshaping our understanding of security primitives used in modern encryption systems.
For years, cryptographers and mathematicians have known of millions of extended-affine, or EA, classes of quadratic APN functions operating on $mathbbF_2^8$. However, despite extensive research and computational efforts, the total number of existing classes has remained stubbornly elusive. Previous attempts to estimate this figure relied heavily on random search algorithms, which typically assume that a random search is capable of discovering every individual class with roughly the same probability.
As Bellini points out in the new paper, this foundational assumption does not hold true in practice. Earlier searches frequently employed specialized filters that inadvertently favored certain classes over others. Furthermore, the actual classes themselves vary significantly in size, skewing the results of naive random sampling methods and rendering traditional statistical estimates unreliable.
To overcome these structural biases, the new research introduces a sophisticated mechanism known as the uniform sampler. This innovative tool is designed to ensure that every single quadratic APN function on $mathbbF_2^8$, when considered up to affine terms, is assigned the exact same expected number of draws. Consequently, each distinct class is drawn in direct proportion to its actual size, eliminating the distortion that plagued earlier computational surveys.
The design of the uniform sampler builds directly upon the variable approach pioneered by prominent researchers Beierle, Langevin, Leander, Polujan, and Rasoolzadeh. To make the theoretical model practical on a massive scale, Bellini developed high-performance implementations optimized for both central processing units (CPUs) and graphics processing units (GPUs). This dual-hardware approach allowed for an extraordinary volume of computational work to be executed efficiently.
Over the course of the investigation, the computational infrastructure executed a staggering 104,176,566 draws using the uniform sampler. The results of this massive execution revealed a striking landscape of cryptographic functions. Out of all the draws made by the system, approximately 34.47 percent fell entirely outside the scope of previously published classes.
Through this rigorous process, the research uncovered 2,000,780 brand-new classes. These newly discovered entities add to the 3,812,868 previously published classes that were already known to the scientific community. To ensure the validity of these discoveries, a specialized class invariant was employed, which conclusively proved that all of the newly found classes are pairwise inequivalent. On average, each of the newly identified classes was drawn approximately 17.9 times during the computational runs.
To evaluate the completeness of the survey, the research applied a statistical model based on independent draws. Under this model, the probability that a particular value of the invariant was completely missed during the search is estimated to be at most 0.0020. The author notes that if the invariant also perfectly separates the distinct classes, the total number of classes is likely to be 5,813,648.
The study also undertook an exhaustive search under specific theoretical constraints, assuming the absence of hash collisions. This exhaustive examination demonstrated that every function possessing a linear self-equivalence of prime order matches the invariant of one of 12,775 previously published classes. Additionally, the research confirmed that no currently known class is CCZ-equivalent to a permutation, providing further structural clarity regarding these cryptographic functions.
An interesting methodological finding emerged regarding random number generation during the computational experiments. The study revealed that xorshift64, a widely used random generator that is linear over $mathbbF_2$, actually introduces biases into the uniform sampler, emphasizing the critical importance of careful tool selection in high-precision mathematical computations.
In the interest of open science and reproducibility, all source code developed for the project, alongside the comprehensive class database and summary data, has been made publicly available to the research community.






