Notice: Due to an ongoing migration of our storage and publishing system, material requested since last month will not be uploaded for the time being, and new requests are paused. All existing notes remain available.

Unit 5 subjective questions Public Key Cryptography

MTH381 — Number Theory And Cryptography 20 questions with model answers. Write yours first, then compare.

Read the notes Practice MCQs
  1. Question 1 of 20

    Define public-key cryptography and explain how it differs fundamentally from symmetric-key cryptography.

  2. Question 2 of 20

    Explain the motivation behind public-key cryptography. What problem of classical cryptography does it solve?

  3. Question 3 of 20

    Describe the Diffie-Hellman key exchange protocol step by step, including the mathematics involved.

  4. Question 4 of 20

    Perform a Diffie-Hellman key exchange with , , Alice's private key , and Bob's private key . Compute the shared secret.

  5. Question 5 of 20

    State and explain the Discrete Logarithm Problem (DLP). Why is it central to the security of Diffie-Hellman and ElGamal?

  6. Question 6 of 20

    Describe the RSA cryptosystem including key generation, encryption, and decryption.

  7. Question 7 of 20

    Given RSA parameters , , and public exponent , compute the private key and encrypt the message .

  8. Question 8 of 20

    Prove the correctness of RSA decryption, i.e., show that .

  9. Question 9 of 20

    Describe the ElGamal cryptosystem, including key generation, encryption, and decryption.

  10. Question 10 of 20

    Using ElGamal with , , private key , encrypt using random . Then decrypt to verify.

  11. Question 11 of 20

    Compare the RSA and ElGamal cryptosystems in terms of underlying hard problem, ciphertext size, and randomness.

  12. Question 12 of 20

    Explain the concept of modular exponentiation and why the square-and-multiply algorithm is important in public-key cryptography.

  13. Question 13 of 20

    Explain the man-in-the-middle (MITM) attack on the Diffie-Hellman key exchange and how it can be prevented.

  14. Question 14 of 20

    Discuss the security considerations and possible attacks on the RSA cryptosystem.

  15. Question 15 of 20

    Explain the role of Euler's totient function and Euler's theorem in the RSA algorithm.

  16. Question 16 of 20

    Distinguish between the Computational Diffie-Hellman (CDH) problem and the Discrete Logarithm Problem (DLP).

  17. Question 17 of 20

    In RSA, given , , , and ciphertext , perform the complete decryption to recover the plaintext .

  18. Question 18 of 20

    Explain how public-key cryptography enables digital signatures. Illustrate using RSA.

  19. Question 19 of 20

    Explain why basic (textbook) RSA is deterministic and why this is a security weakness. How is it addressed?

  20. Question 20 of 20

    Derive the relationship between the public and private keys in RSA and explain how the Extended Euclidean Algorithm is used to compute the private key .

That's unit 5

Long answers stick best when they're tested again soon. Run the MCQs on this unit, then come back to the questions you found hardest.