Answered step by step
Verified Expert Solution
Question
1 Approved Answer
............... 2. [5 pts] Let II denote the Vigenre cipher where the message space consists of all 3-character strings (over the English alphabet), and the
...............
2. [5 pts] Let II denote the Vigenre cipher where the message space consists of all 3-character strings (over the English alphabet), and the key is generated by first choosing the period t uniformly from {1,2,3} and then letting the key be a uniform string of length t. (a) Define A as follows: A outputs mo = aab and m = abb. When given a ciphertext c, it outputs 0 if the first character of c is the same as the second character of c, and outputs 1 otherwise. Com- pute Pr[Privka, i = 1]. (b) Construct and analyze an adversary A' for which Pr[Privky. = 1] is greater than your answer from part (a). 2. [5 pts] Let II denote the Vigenre cipher where the message space consists of all 3-character strings (over the English alphabet), and the key is generated by first choosing the period t uniformly from {1,2,3} and then letting the key be a uniform string of length t. (a) Define A as follows: A outputs mo = aab and m = abb. When given a ciphertext c, it outputs 0 if the first character of c is the same as the second character of c, and outputs 1 otherwise. Com- pute Pr[Privka, i = 1]. (b) Construct and analyze an adversary A' for which Pr[Privky. = 1] is greater than your answer from part (a)Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started