Skip to content

This is the final project for the Discrete Mathematics course with Simon Izasa. The project focuses on implementing RSA encryption, a widely used cryptographic algorithm, in Python.

Notifications You must be signed in to change notification settings

eliaghazal/RSA-Encryption

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

RSA Encryption - Discrete Mathematics Final Project

Project Files

The project consists of three Python files:

  1. RSAKeyGeneration.py: This file is responsible for generating a public and private key pair using two given prime numbers. The public key can be used for encryption, while the private key is used for decryption.

  2. RSAEncryption.py: This file implements the encryption process using a given public key. It can encrypt any given message, including capital letters, whitespaces, and numbers.

  3. RSADecryption.py: This file handles the decryption process using the corresponding private key. It can decrypt any encrypted message.

Usage

To use the project, follow these steps:

  1. Run the RSAKeyGeneration.py file to generate a public and private key pair.

  2. Use the generated public key to encrypt a message by running the RSAEncryption.py file.

  3. To decrypt the encrypted message, use the corresponding private key by running the RSADecryption.pyfile.

Please note that the project assumes basic knowledge of Python programming and the RSA encryption algorithm.

  • License: Free use, do whatever you want with it.

About

This is the final project for the Discrete Mathematics course with Simon Izasa. The project focuses on implementing RSA encryption, a widely used cryptographic algorithm, in Python.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 100.0%