Question: 1 . 1 2 . There is nothing exclusively special about strings and XOR in OTP. We can get the same properties using integers modn

1.12. There is nothing exclusively special about strings and XOR in OTP. We can get the same
properties using integers modn and addition modn.
This problem considers a variant of one-time pad, in which the keys, plaintexts, and ci-
phertexts are all elements of Zn instead of {0,1}.
(a) What is the decryption algorithm that corresponds to the following encryption algo-
rithm?
(b) Show that the output of the following subroutine is uniformly distributed in Zn :
[EAVESDROP'(minZn):klarrZnc:returnc]=(k+m)%n.
(c) It's not just the distribution of keys that is important. The way that the key is combined
with the plaintext is also important. Show that the output of the following subroutine
is not necessarily uniformly distributed in Zn :
)'
 1.12. There is nothing exclusively special about strings and XOR in

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!