This is a simple Python script for encrypting and decrypting files using the AES (Advanced Encryption Standard) algorithm. The script provides a command-line interface and includes options for encrypting individual files, decrypting files, and performing bulk encryption and decryption in a directory.
- AES encryption and decryption with key-based authentication
- Options to encrypt and decrypt individual files
- Bulk encryption and decryption for all files in a directory
- Password-based authentication for added security
- Progress bars using the tqdm library
- Python 3.x
- Required Python libraries (
Crypto,tqdm,termcolor)
-
Clone the repository:
git clone https://github.com/yourusername/encryption-tool.git
-
Navigate to the project directory:
cd encryption-tool -
Install the required dependencies:
pip install -r requirements.txt
-
Run the script:
python script.py
- If the
password.txt.encfile is not found, the script will guide you through the setup process, allowing you to either generate a random password or manually set one.
- This script is designed for educational purposes and should be used with caution, especially when dealing with sensitive data.
- Ensure that the password is stored securely, and consider additional security measures for sensitive applications.
This project is licensed under the MIT License.
- Utkarsh Pandey
- linkedin.com/in/ut22karsh