Skip to content

Alnasser0/COE451-Project-Secure-ChatApp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A Secured Chat Application

Purpose

This project has been done as part of required tasks in Network Security course (COE451) at KFUPM in Term 201. It is an improvement to an available open-source chat application that has no encryption. It implements SSH using low-level RSA and Diffie-Hellman to secure exchange of symmetric key. The messages are encrypted using AES256-CBC.

Installation

You can use either pip or Anaconda to install the requirements. Note that the application is written in Python 2 language.

In pip from the tree directory:

pip install -r requirements.txt

or in Anaconda from the tree directory:

conda env create --file environment.yml

Usage

From program file, use:

python chatApp_Alice.py
python chatApp_Bob.py

Run examples

Run Test

Figure 1

Cypher Proof

Figure 2

Case 1: Trudy posing as Bob

This case and below case are done by changing the private key of coresponding user. Figure 3

Case 2: Trudy posing as Alice

Figure 4

Credit

License

MIT

About

Network Security Course (COE451) Project in KFUPM - Term 201.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages