Imagine you are a master chef trying to invent a new, unique spice blend for a secret recipe book. You have a massive pantry with $2^{64}$ (or even more) possible combinations of spices. Your goal is to find the "perfect" blend that makes a dish taste amazing (in cryptography, this means a function that is hard to crack).
However, there's a catch: some spice blends are just the same recipe, but written in a different language or with the ingredients listed in a different order. In the world of math and cryptography, these "same-but-different" recipes are called EA-equivalent.
This paper by Keita Ishizuka answers two big questions about searching for these unique recipes:
- How many truly unique recipes are there?
- If I randomly pick two recipes from the pantry, what are the odds they are actually the same recipe in disguise?
Here is the breakdown of the paper's findings using simple analogies.
The Core Concept: The "Mirror" Effect
In this mathematical world, a function (a recipe) has a Stabilizer. Think of a stabilizer as a "magic mirror."
- If you look in the mirror and see a slightly different version of yourself (like wearing a hat or standing on one leg), but you are still you, that's a non-trivial stabilizer.
- If the mirror shows only you, exactly as you are, with no changes possible, that's a trivial stabilizer.
Most people assume that complex recipes might have many "magic mirrors" (symmetries) that make them look the same in different ways. If a recipe has many mirrors, it means there are many ways to write it down that are actually the same thing. This makes counting unique recipes very hard.
The Big Discovery: "Almost Everyone is Unique"
The paper proves a surprising fact: Almost all random recipes have NO magic mirrors.
If you pick a function at random from the massive pantry of possibilities, it is overwhelmingly likely that it has zero symmetries. It is a "one-of-a-kind" item.
- The Analogy: Imagine a library with a billion books. You might think many books are just copies with different fonts or cover colors. This paper says: "No! If you pick a book at random, it is almost certainly a unique original. The chance of finding a book that is just a 'reformatted copy' of another is so small it's practically zero."
Why This Matters: Two Big Wins
1. Counting the Unique Items (The "Naive" Guess is Right)
Before this paper, mathematicians worried that counting unique cryptographic functions was hard because of all the "reformatted copies" (symmetries). They thought the real number of unique classes was much lower than a simple calculation would suggest.
The Paper's Verdict: You can just do the simple math!
- The Formula: Take the total number of functions and divide it by the size of the "group" (the number of ways you can shuffle the ingredients).
- The Result: Because almost every function has no symmetries (no mirrors), this simple division gives you the exact number of unique classes. The "error" in this guess is so tiny it vanishes as the numbers get bigger.
2. The Lottery of Random Sampling (No Need to Worry About Duplicates)
Cryptographers often use computers to randomly generate functions to find ones with special security properties (like being "Almost Perfect Nonlinear" or APN). A major fear was: "If I generate 1,000 random functions, will I accidentally generate the same one 500 times just because it looks different?"
The Paper's Verdict: No, you won't.
- The Odds: The chance that two randomly picked functions are actually the same (EA-equivalent) is super-exponentially small.
- The Analogy: It's like shuffling a deck of cards and asking, "What are the odds I pull the Ace of Spades twice in a row?" But make the deck the size of the universe. The odds are so low that you can safely generate millions of random functions without worrying about hitting the same "class" twice.
The "8-Bit" Reality Check
The paper does a specific calculation for 8-bit S-boxes (the standard size used in modern encryption like AES).
- It calculates that the probability of a random 8-bit function having a "mirror" (non-trivial stabilizer) is roughly 1 in $10^{110}$.
- To put that in perspective: There are only about $10^{80}$ atoms in the observable universe. You are more likely to find a specific atom in the entire universe than to find a random 8-bit function that isn't unique.
Conclusion: Why This is Good News
This paper gives cryptographers a huge green light.
- For Design: You don't need to worry about complex math to avoid duplicates when searching for new ciphers. Random sampling works perfectly.
- For Theory: It confirms that the "messy" part of the math (symmetries) is actually a tiny, rare exception. The "clean" part (everything is unique) is the rule.
In short: If you pick a cryptographic function at random, it is almost certainly a unique masterpiece, not a copycat.