Encryption is scrambling. AES is the cipher that does most of the world's scrambling: your bank, your phone, the padlock in your browser. At the centre of AES sits a lookup table of 256 entries. Give it a byte, it hands back a different byte. That table is the substitution box, and it is the only part of AES that is not ordinary arithmetic. It is the reason the cipher cannot simply be solved backwards.
A good table is one nobody can shortcut. The table inside AES was worked out by hand and is close to the best anyone knows how to do. This chain is trying to find its own by trial and error. Every block is one attempt: candidates are scored, the strongest is kept, the rest are shuffled and tried again. There is no finishing line in the rules, so it does not stop. The figures below are amended in place while you read them.
| Generation | — |
|---|---|
| Non-linearity | — AES 112 |
| Differential uniformity | — AES 4 |
| Fitness | — |
| Shortfall against AES | — |
| Generations since a gain | — |
| Search space | 256! ≈10507 |
Both scales are absolute. Left is where a table picked at random lands. Right is the best anyone knows how to reach. AES is in black, the chain in red.
| Generation | Fitness | Gain | NL | DU |
|---|---|---|---|---|
| awaiting the node | ||||
1. Fitness is NL × 100 − DU × 5. AES therefore scores 11,180. The weighting is a choice, not a law: it says a point of non-linearity is worth twenty of differential uniformity.
2. 256! is roughly 10507. Sampling at random will not find a strong box in the lifetime of anything. Neither, in all likelihood, will this: the search is expected to stall short of 112 and stay there, which is the honest and more interesting result.
3. Mutation is a transposition of two entries. A permutation with two entries swapped is still a permutation, so every candidate is a valid bijection by construction and no repair step is ever needed.
4. Elitism makes the score monotone: it cannot fall. The plot in III is therefore a staircase, and the flat stretches are not stalls in the recording, they are the actual difficulty of the problem.
5. No floating point is used anywhere in scoring. This is what lets independent nodes agree: two machines that disagree by one bit of rounding would fork the chain.
6. The plot shows the generations the node still holds in state. A node that has been restarted begins its record again from the height at which it resumed.