Question: Using Pyton 3 write a cipher program. In this programming assignment, you will write a program called cipher.py that uses a cipher to encode and
Using Pyton 3 write a cipher program.
In this programming assignment, you will write a program called cipher.py that uses a cipher to encode and decode secret messages.
Cipher Rules: Use the following cipher to encode and decode your messages:




Cipher Programming Assignment To protect the content of a message, we can hide it by using an algorithm called a cipher https://en.wikipedia.org/wiki/Cipher Cipher Description: A cipher works by replacing the characters in some input. For example, we might swap each "a with a "b", each "b" with a "c", and each "c" with a "d". That means the word "cab" would be encrypted as "dbc" c=> d a=> b b=> c If we know the rules of a cipher, we can also go backwards to decrypt d=> c b=> a c=> b So, "dbc" becomes "cab Requirements In this programming assignment, you will write a program called cipher.py that uses a cipher to encode and decode secret messages Cipher Rules Use the following cipher to encode and decode your messages Input Replace with Input Replace with Input Replace with The program should start with a menu. It should ask the user whether they/d like to encode a message, decode a message, or exit. The following section contains sample output
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
