java

secure communication system

Project Objective
The primary goal of this project is to review and implement the Diffie-Hellman key exchange protocol, focusing on its applications, particularly in internet key exchange. Additionally, the project includes creating a secure web page for electronic business, enabling encryption of sensitive data like customer credit card numbers and Social Security Numbers (SSNs) before transmitting them between the client and server.

Project Overview
The system allows a customer to access a website hosted on a basic HTTP server. Upon access, the server responds with a Java servlet. The Diffie-Hellman key exchange protocol is utilized to generate a shared key between the client and server. This shared key is then used to encrypt and decrypt sensitive data such as credit card details or SSNs during communication. The project is developed using JSP and Servlets as the programming languages.

User Access
There is a single entity—the user—who can access the system. The user must first log in with valid credentials to access the platform.

Encryption Technique
Encryption conceals sensitive information, making it appear as meaningless data to unauthorized individuals. Even if intercepted, the encrypted text is incomprehensible without the decryption key. The system encrypts text messages with a key or password, ensuring secure transmission even in the event of a breach. The receiver requires the decryption key to unlock and read the hidden text. This method provides an additional layer of security against external threats like hackers or crackers. An online database is used to store all related data securely.


System Modules

  1. Encryption

    • Plain text is transformed using a modular algorithm.
    • A shared secret key is generated using the Diffie-Hellman algorithm.
    • The shared key is applied to encrypt the modified text using the AES encryption standard.
    • Padding bits are added to the left or right of the encrypted text for additional security.
  2. Decryption

    • The system removes padding bits from the encrypted text.
    • A shared secret key is regenerated using the Diffie-Hellman algorithm.
    • Encrypted text is decrypted using AES with the shared secret key.
    • The plain text is recovered by reversing the modular algorithm applied during encryption.
  3. Key Generation

    • Keys are created using two primary keys and the user's private key to generate a unique shared secret key.

Key Features

  • Secure Communication: The Diffie-Hellman algorithm ensures the secure exchange of a shared key.
  • AES Encryption: Sensitive data is encrypted using the robust AES encryption technique.
  • Double Authentication: The use of keys/passwords for encryption and decryption adds an extra layer of security.
  • User-Friendly Design: A simple user interface allows users to seamlessly encrypt, send, and decrypt messages.
  • Data Security: All information is securely stored in an online database, protecting against unauthorized access.

Advantages: 

  • Fast and easy way to send secure text messages.

  • Use two-way encryption technique.

  • Easy process to encrypt text on image.

  • Uses a secured SQL database to store the information.

Software Requirements:

  • Windows 7 or higher. 

  • Mysql

  • Jsp & Servlet

Hardware Components:

  • Processor – i3

  • Hard Disk – 5 GB

  • Memory – 1GB RAM

  • Internet Connection

 

 

Scroll to Top