Question: Write a Python program to encrypt a text file by adding 5 to every byte in the file, and decrypting by subtracting 5 from each
xxlab13-1, xxlab13-2: Write a program to encrypt a text file by adding 3 to every byte in the file. Write a second program which would read in the encrypted file and decrypt it by subtracting 3 from each byte. The program prompts the user to enter an input filename and an output filename and save the encrypted (or decrypted) file to the output file
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
