Solution

ID: past-exam-of-the-mathematics-course-of-the-university-of-cambridge/2020/ia/paper-2/7d/c/solution

In the RSA cryptosystem, choose distinct large primes , put , and choose coprime to
The decryption exponent is the modular multiplicative inverse
Thus . For a message with , the Fermat-Euler theorem gives
For , . The extended Euclidean algorithm gives
so

New to topics? Read the docs here!