Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 

Repository files navigation

File Encryption & Decryption (Python Ransomware Simulation) Tool

Overview

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.


Features

  • 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

Technologies Used

  • Python 3
  • Cryptography / Encryption libraries
  • File system operations (os, pathlib)

Project Structure

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

How It Works

  1. The encryption script scans selected files.
  2. Each file is encrypted using a generated encryption key.
  3. The original content becomes unreadable.
  4. The decryption script restores the files using the same key.

Installation

Clone the repository:

git clone https://github.com/coderpg07-18/FileCipher-toolkit.git

Install required dependencies:

pip install -r requirements.txt

Usage

Encrypt Files

python encrypt.py

Decrypt Files

python decrypt.py

Disclaimer

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.


Learning Objectives

  • Understand basic encryption concepts
  • Learn how ransomware encrypts files
  • Explore file security techniques
  • Practice Python-based cybersecurity projects

Author

Prince Gupta


License

This project is licensed under the MIT License.

About

Python project demonstration of ransomware-style file encryption and decryption technique.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages