Encrypt and Decrypt from a File 1. Create that file and put some test data in it. 2. Choose a number (slicing number) for the constant to use to store cryptopy_input.txt and set that constant. 3. Choose a name for the file that will store the encrypted cipher-test (cryptopy_output.txt) 4. Choose a name for the constant to use to store ciphertext.txt and that constant. 5. Open the input file. 6. Read the plaintext. 7. Choose the input file. 8. Encrypt the file’s contents according to the method in previous class. 9. Print the encrypted text. 10. Open the output file. 11. Write the ciphertext. 12. Close the output file.

Solved
Show answers

Ask an AI advisor a question