1. Engineering
  2. Computer Science
  3. write a c program that will 1 ask the user...

Question: write a c program that will 1 ask the user...

Question details

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
Solution by an expert tutor
Blurred Solution
This question has been solved
Subscribe to see this solution