Question: A Caesar cipher is a substitution cipher based on the idea of shifting each letter of a message by a fixed number (called the key)
A Caesar cipher is a substitution cipher based on the idea of shifting each letter of a message by a fixed number (called the key) of positions in the alphabet. For example, if the key is 1, the message ATTACK AT DAWN will be converted to BUUBDLBUEBXO.
a) Write a function in python that returns a decrypted Caesar cipher message, given an encrypted message and a key (1-25).
b) The Caesar cipher is a very easy code to break, even if you do not know the key. Briefly describe a systematic method of decrypting a Caesar cipher message if you do not know the key.
c) Use the method from part b) to determine the key for the following message: SIOBUPYWLUWEYXNBYWIXY
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
