A Java-based desktop application that provides a user-friendly interface for encrypting and decrypting texts using two popular encryption methods: the Caesar Cipher and the Double Transposition Cipher (Double Columnar Transposition).
- Intuitive User Interface: Allows users to easily input their message and select the desired encryption method.
- Caesar Cipher:
- Users can specify the shift value for encryption and decryption, offering customizable security.
- Double Transposition Cipher:
- Requires two keywords for encryption and decryption, providing an additional layer of security.
- Flexibility and Usability:
- Designed to make encryption accessible for both beginners and advanced users.
The Caesar Cipher shifts each letter of the plaintext by a specified number of positions in the alphabet. The shift value is user-defined, making the encryption customizable.
The Double Transposition Cipher uses two keywords to perform columnar transpositions twice, scrambling the plaintext for higher security. The same keywords are required to decrypt the message.
- Encryption:
- Plaintext:
HELLO
- Shift Value:
3
- Encrypted Text:
KHOOR
- Plaintext:
- Decryption:
- Encrypted Text:
KHOOR
- Shift Value:
3
- Decrypted Text:
HELLO
- Encrypted Text:
- Encryption:
- Plaintext:
HELLO
- Keyword 1:
KEY1
- Keyword 2:
KEY2
- Encrypted Text:
LOLEH
- Plaintext:
- Decryption:
- Encrypted Text:
LOLEH
- Keyword 1:
KEY1
- Keyword 2:
KEY2
- Decrypted Text:
HELLO
- Encrypted Text:
- Java Development Kit (JDK) installed on your system.
- A Java Integrated Development Environment (IDE) or the ability to run Java applications from the terminal.
. Clone the repository:
git clone [email protected]:ymll58/message-encryption.git