Giter Club home page Giter Club logo

encryptedmessengerapplication's Introduction

EncryptedMessengerApplication

This project focuses the sending-receiving message (over TCP Socket) with high security. The RSA and AES were used in this application for providing high security. The project sceneario;

1.) The public and private keys which are 1024 bits and they are generated for RSA by KeyPairGenerator java class.

2.) After this key generating process, the public key is sent to clients over TCP Socket connection.

3.) Client gets the public key of Server now. Client generate asymmetric key (symmetric key will be used for AES encrytion) which are encrypted by RSA public key and this encrypted message will be sent to Server.

4.) Server is got the symmetric key now.

5.) Server decrypts this message with its private key and Server reaches the symmetric key.

6.) Now, Server can encrypt the messages by using this AES symmetric key and after that encryption, it sends this message over TCP Socket to Client.

7.) Client decrypts this message (from Server) with its AES symmetric key.

And this loop can continue until TCP Socket is terminated by Server or Client user so very high secure messanger application can be implemented on Java by this way. The 3rd party users can not reach your message, no way! Thanks to RSA and AES so much!!! :-)

encryptedmessengerapplication's People

Contributors

ahmetozlu avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mahmud83 gosgos11

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.