Skip to content

A technique of securing the socket connection between server and the client by using encryption and changing the encryption key in such a way that only server and the client will understand it.

Notifications You must be signed in to change notification settings

aman983/Synchronous_Socket_Encryption

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Synchronous_Socket_Encryption (SSE)

  • A technique of securing the socket connection between server and the client by using encryption and changing the encryption key in such a way that only server and the client will understand it.
    The technique works in the following manner:
    1. First the server generates random set of key values is generated the keys may or may not be unique and can be repeated but not advised.
    2. Now the server communicates to the client via a public key that is known to both parties.
    3. Now once the data is gathered from the server the client now uses the public key to decrypt the set of keys.
    4. Now the client can start communication by choosing the keys from the set.
    5. After each message sent the client chooses the new key form the set.
    6. At server side once the client sends the message the sever then decrypts the message by the set of keys it gave to client to encrypt the data.
    7. In such a way the communication takes place and the connection at each time is secure because of the change in the encryption at each stage which is done synchronously.

Extra:

  1. The pattern of the key synchronization can be changed which will make it much more difficult for hackers to decipher
  2. Also much stronger encryption can be used here we use ceaser cipher to demonstrate this techique
  3. The ammount of set of keys can also change and also be saved for each client so that the secure connection is establised and there will be no need to again send the set of key

About

A technique of securing the socket connection between server and the client by using encryption and changing the encryption key in such a way that only server and the client will understand it.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages