/RSA

Cryptography project includes communication between sender and receiver with RSA encryption algorithm and breaking it with CCA (chosen cipher attack) and mathematical attack using python socket.

Primary LanguagePython

RSA

security project includes communication between sender and receiver with RSA encryption algorithm and breaking it with CCA (chosen cipher attack) and mathematical attack using python socket

To use you need to run first:

pip install sockets

pip install matplotlib

pip install sympy

To stablish communication

run receiver.py then sender.py

To test attacks

run attacks.py

1 => mathematical attack

2 => chosen cipher attack

Sender ..... Receiver

image

Efficiency: encryption time VS key length

image

Key value VS MA attack time

image