This is a simple Python implementation of the RSA encryption and decryption algorithm. The app allows you to:
- Encrypt and decrypt text using RSA keys.
- Generate RSA keys (public and private).
- Encrypt and decrypt files.
This project uses a pure Python implementation of RSA.
- Generate RSA keys (public and private).
- Encrypt text or text files.
- Decrypt encrypted text or text files.
You need to have Python 3.x installed.
Clone the repository to your local machine:
git clone https://github.com/your-username/rsa-encryption-streamlit.git
pip install -r requirements.txt
streamlit run app.py
-
RSA Key Generation: Generates a public and private key pair. The public key can be used to encrypt data, and the private key is used for decryption.
-
Encryption: Input text or upload a .txt file to encrypt using the public key.
-
Decryption: Use the private key to decrypt the encrypted text.
-
Fork the repository.
-
Create a new branch (git checkout -b feature-name).
-
Make changes and commit them (git commit -m 'Add new feature').
-
Push to the branch (git push origin feature-name).
-
Open a pull request.
This project is licensed under the MIT License - see the LICENSE file for details.