Chinese Remainder Theorem
1. What It Says (beginner!)
System of remainders with coprime moduli has ONE solution mod product! Like two clocks (mod 3, mod 5) pin down exactly one hour mod 15!
2. Worked (exam numerical — memorize steps!)
x ≡ 2 mod 3, x ≡ 3 mod 5 → M = 15
M₁ = 15/3 = 5, inverse of 5 mod 3: 5 ≡ 2, 2⁻¹ mod 3 = 2 (2×2=4≡1!)
M₂ = 15/5 = 3, inverse of 3 mod 5: 3⁻¹ mod 5 = 2 (3×2=6≡1!)
x = 2×5×2 + 3×3×2 = 20 + 18 = 38 ≡ 8 mod 15 ✓ (8 mod 3=2, mod 5=3!)
3. Formula (one line!)
4. Why Crypto Cares
- RSA speedup: decrypt mod and mod (small!) then combine — ~4× faster (private ops use CRT!).
- Split secrets/computation across moduli (parallel!).
5. Exam Points
- Solve 2-congruence system — 7 marks, favourite numerical.
- Inverse-finding step — 3 marks, most-error step.
- RSA-CRT speedup — 2-3 marks, frequent viva.