Question: Write a C program that will 1. Ask the user for a message, and a secret key as integer from 0 to 255 2. Convert
Write a C program that will 1. Ask the user for a message, and a secret key as integer from 0 to 255 2. Convert the secret key to char 3. Use XOR to encrypt each character in the message with the given secret key except spaces Print the encrypted message Use XOR to encrypt each character in the message with the given 4. 5. secret key a second time 6. Print the encrypted message, which should be the same as original
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
