A6 · The graveyardNo leak
A neural network on N itself
A small looks at the bits of N for a clue about p. With a hidden nonlinear clue planted it finds it at once; on honest keys it sits at chance.
The idea
A3 used a straight-line model. A can bend: it can learn rules like “this bit XOR that bit”, which no straight line can. So we feed it all 64 bits of N and ask whether the smaller prime is 1 or 3 mod 4. On a key maker that hides an XOR clue it gets about 100%. On proper keys it stays at 50%.
Watch it
Input: the 64 bits of N. Label: is the smaller prime 1 (mod 4)? Chance is 50%.
The test
Ten seeds. Net accuracy on 1,000 unseen proper keys, how many seeds land inside the chance band, and the same for the leaky generator, plus the linear model on both.
Fig. A6.2Test accuracy of the network on proper and XOR-leaky keys, with the linear baseline and the 95% chance band, across ten seeds
Measuring…