Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

School Assignment

Notifications You must be signed in to change notification settings

itxKAE/simple-e2ee-cmd-chat

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 

Repository files navigation

simple-e2ee-cmd-chat

The purpose of the project is to develop a program which allows 2 users to communicate with one another in a secure manner through the use of End-to-End Encrypted (E2EE) Communications.

Features

  • Base Chat Sender/Listener
  • RSA Key Generation & Exchange
  • Digital Signing & Verification
  • Message Encryption & Decryption
  • Message Padding

Program Flow

Program Flow

Program Architecture

Architecture

Limitations

  • Message length due to the nature of RSA & socket being binded to 4096 bits
  • No Error Handling

Requirements

pip install pycryptodome
  • Python Socket
pip install socket

Usage - Server

  1. Run the program server.py via cmd
python server.py
  1. Key in the port number to start the session
  2. Now wait for connections

Usage - Client

  1. Run the program client.py via cmd
python client.py
  1. Key in Server's IP address and port number
  2. Viola!