A simple Caesar Cipher CLI program written in Java in order to start practicing Java and cryptography.
Usage:
- run
javac *.java
to compile the Java file - run
java CaesarCipher encrypt 7 "this is a test"
to encrypt a string with the key of 7 - run
java CaesarCipher decrypt 7 "aopz pz h alza"
to decrypt a string with the key of 7 - run
java CaesarCipher encryptFile 7 ./test.txt
to encrypt the txt file with a key of 7 - run
java CaesarCipher decryptFile 7 ./test_output.txt
to decrypt the txt file with a key of 7
To Do
- Break out classes into seperate files
- Add help command
- Ignore special characters
- Add more verbose console logs
- Add error handling