Question: 2. Consider the following encryption scheme. The message space is M 10,1. Then . Gen, the key generation algorithm, produces a uniformly random key in

2. Consider the following encryption scheme. The message space is M 10,1. Then . Gen, the key generation algorithm, produces a uniformly random key in the set [0, 1,.,9). The encryption algorithm is given by ifm=0, i 1 Enck(m) . The decryption algorithm is if k = c, Deck(c) First of all, explain why the scheme is correct (that is, explain why for all k and m we have Deck(Enck(m)) Does the scheme have perfect secrecy? Prove your
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
