Giter VIP home page Giter VIP logo

tcp_des's Introduction

Java TCP Client-Server

This is simple app simualting a Client-Server model. I used the DES algorithm to encrypt the data.

Installation

  1. Require JDK 11
  2. Netbeans 12.0 LTS

Activity Description

  1. Initialize the soket on Server with address and port entered by user. After initailization, the Server is listening for connection from Client.
  2. The Client connects to Server by the address and port.
  3. The data will be encryted by DES and return the cipher text in hexa string.
  4. The Client sends the cipher text and key to Server.
  5. The Server receives and decrypt the cipher text with key then return the plaintext.
  6. The plaintext is converted to uppercase and encrypted again.
  7. The Server send the new cipher text to the Client.
  8. The Client receives and decrypts it then displays the plaintext.

The DES alogortitm

All the DES code was referenced by https://www.youtube.com/watch?v=3mH6zaSjeGU&t=2628s

Interface

Server

image

Client

  1. Client Connection

image

  1. Client

image

tcp_des's People

Contributors

luutienphat avatar

Stargazers

BILL GRAHAM PEACEMAKER avatar

Watchers

 avatar

Forkers

graham218

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.