Skip to content

Shivaprasad84/RSA-Socket-Programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA Socket Programming

Prerequisites

  1. Install paho-mqtt client pip install paho-mqtt

  2. Install mosquitto broker https://mosquitto.org/download/ for windows and sudo apt-get install mosquitto in linux

  3. Run: python3 alice.py <client_id> <topic_name> <secure(1)/not_secure(0)>

  4. Run: python3 bob.py <client_id> <topic_name> <secure(1)/not_secure(0)>

  5. Run: python3 eve.py <client_id> <topic_name> <secure(1)/not_secure(0)>

Keep all the client ids different and make each client subscrie to same topic. In a secure (1) channel eve would not be able to listen in on the coversation between Alice and Bob.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages