Question: Problem 2 - One-time pad without the all-zeros key (6 marks) Recall that in the one-time pad, plaintexts, ciphertexts and keys are n-bit blocks for

 Problem 2 - One-time pad without the all-zeros key (6 marks)

Problem 2 - One-time pad without the all-zeros key (6 marks) Recall that in the one-time pad, plaintexts, ciphertexts and keys are n-bit blocks for some ne N. For any key K, plaintext block M and ciphertext block C, the encryption of M with key K is Ek (M) = MK and decryption of C with key K is DK(C) = C e K, where denotes bitwise x-or (or equivalently, bitwise addition modulo 2). Assume as always that keys are chosen with equal likelihood. When using the one-time pad with the key K =0" consisting of n zeros, we have Ek(M) = MeK = M for every paintext M, i.e. M is left unencrypted. It has been suggested to improve the security of the one-time pad by only encrypting with non-zero keys, i.e. removing On from the key space. a. (4 marks) Use either the definition of perfect secrecy, p(M) = p(MC) for all plaintexts M and ciphertexts C with p(C) > 0 or its equivalent characterization p(C)= p(C|M) for all plaintexts M with p(M) > 0 and ciphertexts C with p(C) > 0 to formally prove that this modification of the one-time pad does not provide perfect secrecy. Specifically, you will need to give a counterexample, i.e. exhibit a pair (MC) that violates the definition or the above characterization of perfect secrecy. Answers that argue informally or do not use this characterization will receive very little if any credit. b. (2 marks) Explain (informally) why allowing K =0does not weaken the security of the one-time pad, even though using that key does not hide the plaintext when encrypting. (Note: the assertion that choosing K = 0" happens so rarely that we don't have to worry about it is not a valid answer and will not receive any credit.) Problem 2 - One-time pad without the all-zeros key (6 marks) Recall that in the one-time pad, plaintexts, ciphertexts and keys are n-bit blocks for some ne N. For any key K, plaintext block M and ciphertext block C, the encryption of M with key K is Ek (M) = MK and decryption of C with key K is DK(C) = C e K, where denotes bitwise x-or (or equivalently, bitwise addition modulo 2). Assume as always that keys are chosen with equal likelihood. When using the one-time pad with the key K =0" consisting of n zeros, we have Ek(M) = MeK = M for every paintext M, i.e. M is left unencrypted. It has been suggested to improve the security of the one-time pad by only encrypting with non-zero keys, i.e. removing On from the key space. a. (4 marks) Use either the definition of perfect secrecy, p(M) = p(MC) for all plaintexts M and ciphertexts C with p(C) > 0 or its equivalent characterization p(C)= p(C|M) for all plaintexts M with p(M) > 0 and ciphertexts C with p(C) > 0 to formally prove that this modification of the one-time pad does not provide perfect secrecy. Specifically, you will need to give a counterexample, i.e. exhibit a pair (MC) that violates the definition or the above characterization of perfect secrecy. Answers that argue informally or do not use this characterization will receive very little if any credit. b. (2 marks) Explain (informally) why allowing K =0does not weaken the security of the one-time pad, even though using that key does not hide the plaintext when encrypting. (Note: the assertion that choosing K = 0" happens so rarely that we don't have to worry about it is not a valid answer and will not receive any credit.)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!