Encrypts files with a password byte-by-byte using a XOR cipher
COMPSCI 210
University of Auckland
Simon Shan
Encrypts files with a password byte-by-byte using a XOR cipher.
Decryption is the same process,
only the password used to encrypt will decrypt the file.
$ gcc fileEncrypt.c -o xor
$ ./xor <filename> <password>
$ ./xor auckland.jpg password1
will produce new-auckland.jpg
file, to decrypt:
$ ./xor new-auckland.jpg password1
new-new-auckland.jpg
will be identical to the original
MIT