Question: Alice is learning about the shift cipher. She chooses a random three - letter word ( so all three - letter words in the dictionary
Alice is learning about the shift cipher. She chooses a random
threeletter word so all threeletter words in the dictionary have
the same probability and encrypts it using a shift cipher with a
randomly chosen key that is each possible shift has probability
Eve intercepts the ciphertext mxp
Compute
PM cat C mxp
Hint: Can mxp
shift to cat?
Use your result from part a to show that the shift
cipher does not have perfect secrecy this is also true
because there are fewer keys than ciphertexts; see the
proposition at the end of the first section
PLEASE SOLVE BY HAND AND BY PYTHON.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
