Skip to content

mohammedmehdio/RSA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 

Repository files navigation

🔐 RSA Key Finder & Encryption Tool

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

🚀 Installation & Usage

1️⃣ Clone the Repository

git clone https://github.com/mohammedmehdio/RSA.git
cd RSA

2️⃣ Make the Script Executable

chmod +x RSA.py

3️⃣ Run the Script

python RSA.py

📌 Features

✅ 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

🛠️ Requirements

  • Python 3.x 🐍
  • Math library (built-in)

📝 Usage Guide

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! 🔢

🤝 Contributing

Feel free to fork this repository, submit issues, or contribute improvements! 🎉

📜 License

This project is open-source under the MIT License. 🚀

Releases

No releases published

Packages

No packages published

Languages