Python assignment

Python assignment

In this assignment you will do a basic encryption of a text file in the following manner. The program encrypt.py will read in the following file I will attach and rearrange the lines in the file randomly and save the rearranged lines of txt to another file called encrypted.txt. It will also save another file called key.txt that will contain the index of the lines that were rearranged in the encrypted file, so for example if the 4th line from the original file is now the 1st line in the encrypted file then the first index in the key will say 4 and so on. Next write a program called decrypt.py that reads the encrypted.txt and key.txt files and decrypts it to print the contents of the original file. So in short all you will be submitting is the encrypt.py and decrypt.py files as part of this assignment.

"You need a similar assignment done from scratch? Our qualified writers will help you with a guaranteed AI-free & plagiarism-free A+ quality paper, Confidentiality, Timely delivery & Livechat/phone Support.


Discount Code: CIPD30



Click ORDER NOW..

order custom paper