This Java application provides a graphical user interface for encrypting and decrypting messages using three different cipher algorithms: Vigenère, Playfair, and Hill cipher.
- User-friendly GUI built with Java Swing
- Support for three cipher algorithms:
- Vigenère Cipher
- Playfair Cipher
- Hill Cipher
- Ability to input messages directly or upload from a .txt file
- Encryption and decryption functionality
- Customizable encryption key (minimum 12 characters)
- Java Development Kit (JDK) 8 or higher
- Compile the Java files:
javac *.java
- Run the main class:
java CipherAppSwing
- Enter your message in the "Message" field or use the "Upload .txt File" button to load a message from a text file.
- Enter a key of at least 12 characters in the "Key" field.
- Select the desired cipher algorithm from the dropdown menu.
- Click "Encrypt" to encrypt your message or "Decrypt" to decrypt a message.
- The result will be displayed in the "Result" area.
CipherAppSwing.java
: Contains the main method and GUI implementation.CipherUtils.java
: Implements the encryption and decryption algorithms for all three ciphers.
Contributions, issues, and feature requests are welcome. Feel free to check issues page if you want to contribute.