Suppose you want to compute : raise to the power , then keep only the remainder when divided by . With small numbers it is a pocket-calculator chore. But in cryptography can have hundreds of digits — a power so large it would not fit inside every atom in the universe.
The obvious method multiplies by itself times. If is around , that is more multiplications than there are seconds in the age of the cosmos. Done that way, modular exponentiation would be hopeless, and so would the cryptography built on top of it.
Yet your browser performs exactly this calculation every time it opens a secure connection — in well under a millisecond. The gap between "impossible" and "instant" is a single beautiful idea.
Comments
Loading comments...