Glossary · M

Modular arithmetic

The arithmetic of remainders: you work with numbers that “start again” after reaching a fixed value, the modulus. It is clock arithmetic and the language of modern cryptography.

In practice: 10 + 5 modulo 12 gives 3, like hours on a clock; the Caesar cipher works modulo 26.

Related terms

Full glossary

↑