CS FundamentalsVery hardGATE CS

Bob's textbook RSA key is p = 7, q = 17, e = 5, d = 77. He signs the message m = 10 without hashing. What signature does he send, and how does Alice check it?

  1. A. s = 40; Alice checks that 40^77 mod 119 = 10
  2. B. s = 96; Alice checks that 96^77 mod 119 = 10
  3. C. s = 64; Alice checks that 64^5 mod 96 = 10
  4. D. s = 96; Alice checks that 96^5 mod 119 = 10

Correct answer: D. s = 96; Alice checks that 96^5 mod 119 = 10

n = 119 and signing uses the private key: s = 10^77 mod 119 = 96. Anyone verifies with the public key: 96^5 mod 119 = 10. 40 = 10^5 mod 119 is encryption with the public key, and 64 wrongly reduces mod φ(n) = 96.

More Computer Networks questions

Exams that ask this topic