CS FundamentalsVery hardGATE CS · Product company CS fundamentals

Textbook RSA uses p = 5, q = 11 and e = 3. What is the private exponent d, and what ciphertext does m = 9 produce?

  1. A. d = 27, c = 14
  2. B. d = 13, c = 14
  3. C. d = 27, c = 4
  4. D. d = 7, c = 27

Correct answer: A. d = 27, c = 14

n = 55 and φ(n) = 4 × 10 = 40. d is the inverse of 3 mod 40: 3 × 27 = 81 ≡ 1, so d = 27. c = 9³ mod 55 = 729 mod 55 = 14. Decryption 14²⁷ mod 55 returns 9.

More Computer Networks questions

Exams that ask this topic