Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Exercise 1. Shift Cipher (40 points) Consider the shift cipher as we discussed it in class. Key space k = {0, 1,...,25). Suppose that we

image text in transcribed
Exercise 1. Shift Cipher (40 points) Consider the shift cipher as we discussed it in class. Key space k = {0, 1,...,25). Suppose that we are given the following message space distribution, M: Pr[M = 'bye'] = 0.1 Pr[M = 'yes'] = 0.5 Pr[M = 'now'] = 0.4 Answer the following questions and make sure that you show your work. (a) (10 Paints) Compute the probability: Pr[M = 'now' C = 'baa') (b) (20 Points) Compute the probability: Pr[M = 'yes' C = "zft'] (c) (10 Points) As we discussed in class and can see in the previous two parts of this question) the shift cipher is not perfect secure for the case of 2-character and 3-character messages. What do you think about the case where the message space is M = {a,...,2} (i.e. all messages are only 1-character messages)? Does it satisfy perfect secrecy or not? If you believe it does argue about it informally, if you believe it does not provide a counter example. Exercise 1. Shift Cipher (40 points) Consider the shift cipher as we discussed it in class. Key space k = {0, 1,...,25). Suppose that we are given the following message space distribution, M: Pr[M = 'bye'] = 0.1 Pr[M = 'yes'] = 0.5 Pr[M = 'now'] = 0.4 Answer the following questions and make sure that you show your work. (a) (10 Paints) Compute the probability: Pr[M = 'now' C = 'baa') (b) (20 Points) Compute the probability: Pr[M = 'yes' C = "zft'] (c) (10 Points) As we discussed in class and can see in the previous two parts of this question) the shift cipher is not perfect secure for the case of 2-character and 3-character messages. What do you think about the case where the message space is M = {a,...,2} (i.e. all messages are only 1-character messages)? Does it satisfy perfect secrecy or not? If you believe it does argue about it informally, if you believe it does not provide a counter example

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

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

What is the most important part of any HCM Project Map and why?

Answered: 1 week ago