Skip to content

A basic RSA encryption and decryption system. It establishes a client-server connection using sockets, and the client sends an encrypted message to the server. The server then decrypts the message using RSA decryption and sends it back to the client.

License

Notifications You must be signed in to change notification settings

ZiadSheriif/Cryptosystem-RSA

Repository files navigation

RSA Encryption and Decryption

Home

This is a simple RSA encryption and decryption tool created in Python. It uses socket programming to communicate with a server and perform RSA encryption and decryption

Requirements

  • Python 3.x
  • Socket
  • matplotlib
  • threading
  • math

How to run

  1. Clone the repository by running the following command in your terminal:
 Clone the repository https://github.com/ZiadSheriif/Cryptosystem-RSA.
  1. Navigate to the directory where the repository was cloned:
cd Cryptosystem-RSA
  1. Start the server by running the following command:
python server.py
  1. In another terminal window, start the client by running the following command:
python client.py
  1. In another terminal window, start the attacker by running the following command:
python attacker.py
  1. Enter a message to encrypt on the client side.
  2. The encrypted message will be sent to the server, which will decrypt it and return the decrypted message to the client.

RSA Algorithm

Algorithm

Contributors


Ziad Sherif

This software is licensed under MIT License, See License for more information ©ZiadSheriif.

About

A basic RSA encryption and decryption system. It establishes a client-server connection using sockets, and the client sends an encrypted message to the server. The server then decrypts the message using RSA decryption and sends it back to the client.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages