Math for Liberal Studies. The modular arithmetic ciphers we have seen use addition and subtraction For example, the Caesar cipher rule is to add 3.
Section 3.8: More Modular Arithmetic and Public-Key Cryptography