Question
With , , : compute , , , and use RSA to encode and decode .
Solution
Keys. ; . The public exponent is (coprime with ). The private exponent satisfies : since , we have .
Encoding of :
Decoding of : It is convenient to use : , and , so . We recover , as expected.
Links
Topics: Probability distributions
Concepts: Modular arithmetic · RSA cryptography
Methods: RSA encryption
Skills: Computing · Using formulae
Exercise type: Probability problem