Encrypt and decrypt using caesar cipher. Decryption using brute force available.
./caesar encrypt|e <filename> <key>
./caesar decrypt|d <filename> <key>
./caesar decrypt|d <filename>
Encrypt input.txt
with a key (right-shift) of 18
./caesar e input.txt 18
Decrypt input.txt
with a key of 2 (right-shift of 24)
./caesar d input.txt 2
Decrypt input.txt
without knowing key (provides best guess)
caesar d input.txt