A Python-based toolkit designed for web security tasks including data encryption, PDF protection, and various utility functions. Perfect for cybersecurity students, penetration testers, and security-conscious developers.
- 🔐 Encrypt and decrypt text/data
- 📄 Encrypt PDF files with passwords
- 🧰 Utility scripts to support secure operations
- 📁 Clean folder structure and modular Python code
|--Web--security-tool
├── pycache_/ # Compiled Python bytecode (auto-generated)
├── images/ # Screenshots and media
├── Rama@1234 # (Sensitive file – avoid sharing)
├── encryptor.py # Handles data encryption
├── main.py # Main controller script
├── pdf_encryptor.py # PDF encryption script
├── utils.py # Utility/helper functions
└── README.md # Documentation
yaml Copy Edit
Make sure Python 3.8 or higher is installed.
Install any required packages (add these manually if no requirements.txt is present):
pip install PyPDF2 cryptography
🧪 How to Run
▶️ Run Main Script
bash
Copy
Edit
python main.py
🔐 Run Data Encryption Tool
bash
Copy
Edit
python encryptor.py
📄 Run PDF Encryption Tool
bash
Copy
Edit
python pdf_encryptor.py
Make sure the PDF to be encrypted is in the same directory or edit the path in pdf_encryptor.py.
📸 Screenshots
Add screenshots in the images/ folder and reference them like this:
markdown
Copy
Edit

⚠️ Security Notice
Do NOT commit sensitive files like Rama@1234 if it contains credentials.
Use .gitignore to exclude private data.
Always encrypt user input and handle data responsibly.
📌 TODO (Planned Features)
GUI using Tkinter or PyQt
AES-256 encryption support
Logging and error tracking
Unit testing framework
🤝 Contributing
Fork the repository
Create your branch: git checkout -b feature-name
Commit your changes: git commit -m "Add feature"
Push to the branch: git push origin feature-name
Open a Pull Request
📜 License
This project is licensed under the MIT License. Feel free to use, modify, and share with credit.
🔍 SEO Keywords
web security • python security tools • pdf encryption python • data encryption script • cybersecurity python project • encrypt decrypt tool