A simple Java implementation of the Rail Fence Cipher, a transposition cipher that encrypts messages by arranging the characters in a zigzag pattern across multiple rails.
- Encrypts plaintext using the Rail Fence Cipher
- Decrypts ciphertext back to plaintext
- Customizable number of rails
- Clone or download this repository.
- Compile the Java program:
javac RailFenceCipherSystem.java- Run the program:
java RailFenceCipherSystemFollow the prompts to enter your message and choose the number of rails for encryption or decryption.
- Intuitive GUI: Easy-to-use interface for encryption and decryption
- Customizable Rails: Choose the number of rails for the cipher
- Real-time Results: Instant display of encrypted or decrypted messages
- Input validation: Handles edge cases and invalid inputs gracefully
This project is licensed under the MIT License. See the LICENSE file for details.
