Folder Encryptor is a Python script that allows users to securely encrypt and decrypt folders using AES-GCM encryption. It supports encryption of individual files within a folder, ensuring that sensitive data is protected. The script provides a progress bar to visualize the encryption and decryption process in real time.
- Encrypts and decrypts folders containing multiple files.
- Uses AES-GCM encryption for strong data security.
- Generates a random salt for key derivation.
- Displays a real-time progress bar during encryption and decryption.
- Removes original files after encryption to prevent unauthorized access.
- Python 3.6 or higher
- Required Python libraries:
cryptography
tqdm
-
Clone this repository or download the script file.
-
Install the required libraries using pip:
-
If Windows:
pip install -r requirements.txt
-
If Linux:
pip3 install -r requirements.txt
-
-
Run the script using the following command:
-
If Windows:
python main.py
-
If Linux:
python3 main.py
-
- Run the script and select the desired operation (encrypt or decrypt).
- Enter the path of the folder to be encrypted or decrypted.
- Enter the password for encryption or decryption.
- The script will display a progress bar to visualize the process.
- Once the process is complete, the encrypted or decrypted folder will be created in the same directory as the original folder.
- The original files will be removed after encryption to ensure data security.
- The encrypted folder can be decrypted using the same password.
- The decrypted folder will contain the original files.
- The script will display a success message upon completion of the process.
- The encrypted folder can be safely shared or stored for secure data protection.