Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Please create a Python program that can convert a text string to an encrypted massage and convert the encrypted message back to the original

 

Please create a Python program that can convert a text string to an encrypted massage and convert the encrypted message back to the original message. 1. Read a string message from a text file. (You have to prepare a text file by using a text editor) 2. Print the input string. 3. Convert this message into an encrypted message by using a list element substitution. (Please prepare 10 character substitutions) 4. Print your encrypted message. 5. Save this encrypted message to a file. 6. Convert this encrypted message back to the original message by using a list element substitution. 7. Print your original message. (decrypted message) 8. Submit your input text file and output file. 9. Submit a word document with Python code, and output screen shots.

Step by Step Solution

There are 3 Steps involved in it

Step: 1

Python code def getChainDecryptionencryptedmessage methodchoice key1 key2 keyphrase def getLayer1MessageDecryptionmessage key decryptedmessage for cha... blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Data Structures and Algorithms in Python

Authors: Michael T. Goodrich, Roberto Tamassia, Michael H. Goldwasser

1st edition

1118290275, 1-118-54958-2, 978-1118290279

Students also viewed these Programming questions

Question

What research background do you have?

Answered: 1 week ago

Question

Show that n i=1 i 2 is O(n 3 ).

Answered: 1 week ago