Question: Write a C + + program that: Asks the user if they want to encrypt or decrypt If encrypt, prompt the user for a key
Write a C program that:
Asks the user if they want to encrypt or decrypt
If encrypt, prompt the user for a key
o prompt the user for a plaintext file.
o Encrypt the file using a key
o print out to the screen as well as to a file the results of the encryption.
If decrypt, prompt the user for a key
o prompt the user for an encoded file
o Decrypt the file using a key
o print to the screen as well as a file the plaintext
Allow the user to encrypt or decrypt as long as they want
Extra credit if user can enter numbers and special characters
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
