This project demonstrates how file encryption and decryption mechanisms work using Python. It is designed for Cybersecurity learning purposes to help understand how ransomware-like systems encrypt files and how they can be recovered using the correct key.
The project implements secure file encryption techniques to simulate how malicious software may lock files, helping learners study encryption concepts, file security, and malware behavior.
- Encrypt files using Python
- Decrypt encrypted files with the correct key
- Demonstrates ransomware-style file locking mechanism
- Simple and easy-to-understand implementation
- Useful for cybersecurity and encryption learning
- Python 3
- Cryptography / Encryption libraries
- File system operations (os, pathlib)
FileCipher-toolkit/
│
├── Ransomware/
│ ├── encrypt.py # Script to encrypt files
│ ├── decrypt.py # Script to decrypt files
│ ├── thekey.key # Encryption key generated after encryption
│ └── sample_files/ # Files used for testing
│
└── README.md
- The encryption script scans selected files.
- Each file is encrypted using a generated encryption key.
- The original content becomes unreadable.
- The decryption script restores the files using the same key.
Clone the repository:
git clone https://github.com/coderpg07-18/FileCipher-toolkit.git
Install required dependencies:
pip install -r requirements.txt
python encrypt.py
python decrypt.py
This project is created strictly for Cybersecurity learning and research purposes. It is intended to help cybersecurity enthusiasts understand encryption mechanisms and ransomware behavior.
Do not use this code for malicious activities.
- Understand basic encryption concepts
- Learn how ransomware encrypts files
- Explore file security techniques
- Practice Python-based cybersecurity projects
Prince Gupta
This project is licensed under the MIT License.