Skip to content

ymll58/message-encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Desktop Application: Text Encryption & Decryption

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).

Features

  • 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.

How It Works

Caesar Cipher

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.

Double Transposition Cipher

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.

Examples

Caesar Cipher

  • Encryption:
    • Plaintext: HELLO
    • Shift Value: 3
    • Encrypted Text: KHOOR
  • Decryption:
    • Encrypted Text: KHOOR
    • Shift Value: 3
    • Decrypted Text: HELLO

Double Transposition Cipher

  • Encryption:
    • Plaintext: HELLO
    • Keyword 1: KEY1
    • Keyword 2: KEY2
    • Encrypted Text: LOLEH
  • Decryption:
    • Encrypted Text: LOLEH
    • Keyword 1: KEY1
    • Keyword 2: KEY2
    • Decrypted Text: HELLO

Getting Started

Prerequisites

  • Java Development Kit (JDK) installed on your system.
  • A Java Integrated Development Environment (IDE) or the ability to run Java applications from the terminal.

Installation

. Clone the repository:

git clone [email protected]:ymll58/message-encryption.git

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages