Exercise 1586Number theory › CongruencesL1Added 3 Nov 2026
RSA and modular arithmetic
#RSA#cryptography#modular exponentiation
Statement
In RSA, with primes, , and . Show that for all .
Hint
Use Euler's theorem and CRT.
Show solutionHide solution
Solution
Coprime case. If : by Euler, . Since , , so .
Non-coprime case. If , then WLOG . Then and (by Euler mod ). By CRT, (and ensures too).
Conclusion. RSA correctness holds for all .