A simple Java console-based application implementing classical cryptography techniques, including Caesar Cipher and Rail-Fence Cipher.
This program demonstrates both encryption and decryption, with a user-friendly looping menu system.
-
Caesar Cipher
- Encrypts and decrypts text using a shift value (1-25)
- Handles both uppercase letters and other characters
-
Rail-Fence Cipher
- Encrypts and decrypts text using a custom key (number of rails)
- Implements a zig-zag transposition
-
Interactive Menu
- Choose between ciphers and encryption/decryption options
- Loops until the user chooses to exit.
- Java (JDK 17 or later)
- Object-Oriented Programming (OOP)
- Clone the repository:
git clone https://github.com/menahals/TextEncryption.git- Navigate to the project folder:
cd TextEncryption- Compile the program:
javac TextEncryption/*.java- Run the program:
java TextEncryption.TextEncryption