A Python tool to work with RSA encryption 🔑. It allows you to:
- 🔍 Find a private key from a public key
- 🔍 Find a public key from a private key
- 🔢 Generate RSA key pairs
- 🔏 Encrypt & 🔓 Decrypt messages
git clone https://github.com/mohammedmehdio/RSA.git
cd RSA
chmod +x RSA.py
python RSA.py
✅ Generate RSA key pairs
✅ Encrypt and decrypt messages
✅ Find private key from public key
✅ Find public key from private key
✅ Interactive menu for easy use
- Python 3.x 🐍
- Math library (built-in)
When you run the script, you will see a menu:
==============================
1. Générer des clés RSA
2. Chiffrer un message
3. Déchiffrer un message
4. Trouver clé privée depuis clé publique
5. Trouver clé publique depuis clé privée
6. Quitter
Just enter the number corresponding to the action you want to perform! 🔢
Feel free to fork this repository, submit issues, or contribute improvements! 🎉
This project is open-source under the MIT License. 🚀