- A program that is able to encrypt/decrypt text using the RSA algorithm.
- Able to run two instances of this program and start chatting.
- Another program that tries to break RSA and get the correct private key using plain-ciphertext pairs
-
Run the sender and receiver program in any order:
python3 sender.py
python3 receiver.py
-
Enter the number of bits of the key {n} in the sender program.
-
Enter the number of bits of the key {n} in the receiver program.
-
Enter the sender name to be displayed in the receiver program.
-
Enter the receiver name to be displayed in the sender program.
-
Start chatting!!!
- run the attack.ipynb file in jupyter notebook to be able to see the graphs and the results of the attack.
- run the analysis.ipynb file in jupyter notebook to be able to see the graphs and the results of the analysis.