The project consists of three Python files:
-
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.
-
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.
-
RSADecryption.py: This file handles the decryption process using the corresponding private key. It can decrypt any encrypted message.
To use the project, follow these steps:
-
Run the RSAKeyGeneration.py file to generate a public and private key pair.
-
Use the generated public key to encrypt a message by running the RSAEncryption.py file.
-
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.