The βEncryptβ project is a Python-based tool that allows users to easily encrypt and decrypt text files using AES encryption. This project was created to provide a simple, quick solution for securing files in a lightweight way.
I built this project to help myself and others protect sensitive information in text files while keeping it easy to use through a command-line interface.
π Get Started
To begin using this tool, clone the repository and follow the steps below to set up and start encrypting files.
π Features
π AES Encryption for text files
π οΈ Simple command-line interface for encryption and decryption
βοΈ Lightweight, customizable, and easy to deploy
π Installation and Setup
To set up the project, clone the repository and install the necessary dependencies:
git clone https://github.com/SimonVanMello/encrypt.git
cd encrypt
pip install -r requirements.txt
Encrypting a File
python3 main.py /path/to/file
Decrypting a File
python3 main.py -d /path/to/file.enc
You can also use the -v flag for verbose mode to see detailed logs of the process.
π» Commands
All commands are run from the project root:
| Command | Action |
|---|---|
| python3 main.py /path/to/file | Encrypts a file |
| python3 main.py -d /path/to/file | Decrypts a file |
| -v | Verbose mode for detailed output |
π¨ Customization
For those who need to adjust settings, you can edit the settings.py file to customize aspects like key length and encryption settings.
Final Thoughts β¨
This project is great for learning AES encryption and offers a simple solution for file security. While itβs not intended for professional-grade security applications, it works perfectly for personal projects and experimentation with encryption.