Question: Create a C-program thats reads in a text-file(specified by the user, prefors a bit-level Exclusive-OR on each byte of the text-file (as a method of
Create a C-program thats reads in a text-file(specified by the user, prefors a "bit-level Exclusive-OR" on each byte of the text-file (as a method of encryption, then writes the encrypted file data back out to disk and gives the encryptd file the same name as the input file (overwrites the original file)
Application- Asks user to enter name of file to be encrypted
User- Enters name of file
Application- Encryps each bye of the input file and writes encrypted data back to the same file, over writing the orginal data.


Thank you!
#include
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
