Question: SOLVE IN PYTHON: a. Write a function that prompts the user to enter an input filename and an output filename and saves the encrypted version

SOLVE IN PYTHON:

a. Write a function that prompts the user to enter an input filename and an output filename and saves the encrypted version of the input file to the output file. Encode the file by

- insert a new character x after 7 characters,

- adding 2 to every byte in the input file except for characters a, i, e, o, u,

- replace characters a, i, e, o, u by 1,2,3,4,5

b. Write a function to decode the encrypted file. Your program should prompt the user to enter an input filename and an output filename and should save the unencrypted version of the input file to the output file.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!