Write a program that can encrypt and decrypt using the general Caesar cipher, also known as an additive cipher.

Words: 311
Pages: 2
Subject: Uncategorized

Problem – Caesar Cipher:Write a program that can encrypt and decrypt using the general Caesar cipher, also known as an additive cipher.The encryption and decryption algorithms are described as follows:For each plaintext letter ????, substitute the ciphertext letter ????:????=(????,????)=(????+????) ????od 26,Where ???? takes on a value in the range 1 to 25.The decryption algorithm is: ????=(????,????)=(????−????) ????od 26Example: ????=????============Plaintext: meet me after the toga partyCiphertext: PHHW PH DIWHU WKH WRJD SDUWBYour program should run like below:============================Python Caesar.pyEnter your encryption key: 3Enter your message: meet me after the toga partyYour encrypted message is: PHHW PD DIWHU WKH WRJD SDUWBYour decrypted message is: meet me after the toga partyPlease check that the decryption algorithm successfully recovers the original plaintext.Your program should have two functions: (a) encryption and (b) decryption. Both of them should take the string to be encrypted/decrypted as a parameter along with an integer variable that holds the key value.More instructions:The Caesar Cipher must be implemented using Python version 3.9.x or higher. You must use Python official libraries that are accessible from the webpage (https://docs.python.org/3/library/index.html).You can freely use existing libraries, but all used libraries and their purpose should be described in the report. Also, the report must have some test codes and execution results (screenshots) that demonstrate the correctness of your implementation.Explain your implementation, types of inputs and outputs, libraries used, test codes and resulting screenshots, etc.

Let Us write for you! We offer custom paper writing services Order Now.

REVIEWS


Criminology Order #: 564575

“ This is exactly what I needed . Thank you so much.”

Joanna David.


Communications and Media Order #: 564566
"Great job, completed quicker than expected. Thank you very much!"

Peggy Smith.

Art Order #: 563708
Thanks a million to the great team.

Harrison James.


"Very efficient definitely recommend this site for help getting your assignments to help"

Hannah Seven