Cryptography: Concepts, Algorithms, and Security
Prime Numbers, GCD, and Congruence
Prime Numbers: Numbers > 1 with no divisors other than 1 & itself.
GCD: Largest positive integer dividing 2 numbers without a remainder.
Congruence: 2 numbers are congruent modulo N if they have the same remainder when divided by N (A ≡ B mod N).
Classical vs. Modern Cryptography
Classical Cryptography:
- Based on secrecy of the encryption algorithm.
- Key distribution was physical & therefore not as secure.
- Encryptions like the Caesar cipher were susceptible