/RSA-Cryptosystem

This an assignment for Cryptography and Computer Security college course in Computer Engineering Department, Faculty of Engineering, Cairo University.

Primary LanguageJupyter NotebookMIT LicenseMIT

RSA-Cryptosystem

Table of Contents


Built With :


Getting Started

This is a list of needed instructions to set up your project locally, to get a local copy up and running follow these instructions.

  1. Clone the repository
    $ git clone https://github.com/MoazHassan2022/RSA-Cryptosystem.git
  2. Navigate to repository directory
    $ cd RSA-Cryptosystem/
  3. Install dependencies
    $ python -m pip install -U matplotlib

Running From Terminals

  • Open 2 terminals and run following command in first terminal (this is user 1)
    $ python e2eEncryptedChat.py 1
  • Run following command in second terminal (this is user 2)
    $ python e2eEncryptedChat.py 2
  • That's it! you can now play safely with our end to end encrypted chat!
  • You can end the chat using the word close at any side.

Description

This an assignment in encryption/decryption using RSA algorithm and attacking it.

It is an assignment for Cryptography and Computer Security college course in Computer Engineering Department, Faculty of Engineering, Cairo University.

You can see the requirements file in documentation/RSA Assignment.pdf

You can also see the analysis report file in documentation/Analysis Report.pdf

This is a documentation video on Youtube, Documentation Video

Screenshots

  1. e2e encrypted chat example.

  2. Encryption time Vs. Key size analysis.

  3. Attacking time Vs. Key size analysis.