This preview shows pages 1–2. Sign up to view the full content.
This preview has intentionally blurred sections. Sign up to view the full version.View Full Document
Unformatted text preview: int shiftValue); Task #4 Write the function: int decryptFile(char inputFilename[MAX_FILENAME_LENGTH], char outputFilename[MAX_FILENAME_LENGTH], int shiftValue); Task #5 - Testing 1. Use notepad to create a message and save it to a file. 2. Encrypt this file using your program (choose your own key). 3. Open the encrypted text in notepad and observe the scrambled text. 4. Decrypt this file using your program to a 3 rd file. 5. Open the decrypted file, and verify your message appears correctly. Task #6 – Code Breaking Using your program, decode the file “secretmessage_encrypted.txt” on the course website. Use trial and error to determine what the key value is. Hint: The key is between 1 and 25. You may wish to work with a partner to save time in trying all possible keys....
View Full Document
This note was uploaded on 04/17/2011 for the course CIS 1500 taught by Professor Kramer during the Fall '06 term at University of Guelph.
- Fall '06