Question: python language please follow the steps and show me the code on the compiler thank you Exercises 1: For this question, only consider the usual

Exercises 1: For this question, only consider the "usual" alphabet composed of characters in [A-Z]. You can assume that all the input values will be valid. . Implement a SimpleCipher class that has at least a data member called private key a proper constructor a method called encrypt which take a message and returns the encrypted message according to the following algorithm Each letter in the original string is replaced by a letter n position to the right down the alphabet (if you reach the Z continue from the A); for example, if n is 2, then the letter B is replaced D, and the letter Y is replaced A, and n is the private_key ABCDEFGH XYZA Implement a DoubleCipher class that is a specialization of the SimpleCipher with: an additional data member called second private key a proper constructor . a method called double encrypt which take a message and returns the encrypted message according to the following algorithm first encrypt the message as in SimpleCipher, let us call the result temp o then encrypt each letter in temp as the character resulting from xoring the ASCII code of that character with second private_key. The result of this step is the encrypted message Write a main function that prompts the user to enter a message prompts the user to select an encryption schema: SimpleCipher or DoubleCipher then prompts the user to the necessary key(s) create a proper object(SimpleCipher or DoubleCipher) display the encrypted message
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
