NPTEL Foundations of Cryptography Week 1 Assignment Answers 2025

NPTEL Foundations of Cryptography Week 1 Assignment Answers 2025

1. Assume you are given a 500-character encrypted message, encrypted in Vigenère cryptosystem, in which you know the plaintext word CRYPTOGRAPHY occurs exactly two times, and we know that the ciphertext sequence PTFDLSTTHDZC is the encryption of CRYPTOGRAPHY. The first occurrence starts at character position 24 and second at character position 198 (we start counting from 1). What is the length of the key used for encryption?

  • 5
  • 6
  • 8
  • 9
Answer :- b

2. Which of the following statement(s) is/are correct?

  1. Any encryption scheme with key length less than message length can not be a perfectly-secure scheme.
  2. A scheme is COA secure if and only if it is KPA secure
  3. The one-time pad scheme is perfectly-secure if on any subsequent invocation of the key generation algorithm, an earlier key gets re-generated.
  4. A scheme is CPA secure if and only if it is CCA secure
  • 1 and 3
  • 1, 2 and 3
  • 2 and 4
  • Neither of 1, 2, 3 or 4
Answer :- For Answers Click Here 

3. Consider an instance of shift cipher with the probability distribution over the message space as follows: P[M=a] = 0.25, P[M=b] = 0.5, P[M=c] = 0.25. Then identify the correct statement(s) from the following?

  • Probability that the ciphertext is “D” is the same as the probability that the ciphertext is “E”
  • Probability that the ciphertext is “D” is half the probability that the ciphertext is “E”
  • Probability that the ciphertext is “A” is 1/4th the probability that the ciphertext is “D”
  • Probability that the ciphertext is “D” is 1/26
Answer :- 

4. Which of the following is/are true for the Vernam cipher?

  • The scheme is CPA-secure
  • The scheme is not single-message COA-secure, if the sender obtains a key k=0n from the key-generation algorithm
  • The scheme is not single-message COA-secure, as the encryption algorithm is deterministic
  • The scheme is not CPA-secure
Answer :- 

5. Which of the following is/are not perfectly secure encryption scheme(s):

  • Playfair Cipher
  • Vernam Cipher
  • Affine Cipher
  • Vigenère Cipher
Answer :- For Answers Click Here 
Scroll to Top