Answered step by step
Verified Expert Solution
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...Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started