This document discusses modular arithmetic and its applications in cryptography. Modular arithmetic involves dividing integers and taking the remainder, known as the residue, and exploring properties when doing arithmetic operations such as addition, subtraction, and multiplication on these residues. Finite fields, where the set of integers is modulo a prime number, are important for cryptography. Fermat's Little Theorem and Euler's Totient function, which counts numbers relatively prime to n, also relate to modular arithmetic.