Answered step by step
Verified Expert Solution
Link Copied!

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

...............image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data And Databases

Authors: Jeff Mapua

1st Edition

1978502257, 978-1978502253

More Books

Students also viewed these Databases questions