07 / 08 · Math basics
One-way functions
Powers with wrap-around: fast forward, hopeless backward.
Raise a number to a power, wrapping around a modulus: computers do it in a few milliseconds even with 2048-bit numbers. Going back, finding the exponent from the result, has no known shortcut. That asymmetry is a one-way function.
One way
mix →a second
← un-mixno way back
01 / 12 · One-way functions
Easy one way, hopeless back
Mixing yellow and blue paint takes a second. Getting the yellow and the blue back out of the green is hopeless. Cryptography needs math that behaves like this: quick to compute, practically impossible to undo. It is called a one-way function.