- A chatting program that encrypts/decrypts messages sent from one user to another to obtain secrecy between them as no one can decrypt the sent message except the one who should receive it, using the RSA algorithm.
- with another program that tries to break it & gets the correct private key, declaring the difference will happen when we change the size of the keys that we used in The RSA Algorithm.
- Python
- Socket-IO
- Threading
This is a list of needed instructions to set up the project locally.
- Clone the repository
git clone https://github.com/AbdelrahmanNoaman/RSA.git
- Navigate to repository directory
$ cd RSA
- Running the client to be the host
python -u .\client.py
Choose 1 to be the host, then enter your name:
- Open a new terminal and Run the client to connect
python -u .\client.py
Choose 2 to connect, then enter your name:
- To run the attack, run attackRSA file
python -u .\attackRSA.py
Abdelrahman Noaman |