| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This project includes two Python scripts: one for encrypting files and another for decrypting them. These scripts use the cryptography library, specifically the Fernet symmetric encryption method, to encrypt and decrypt files in the current directory.
Ensure you have the following Python package installed:
You can install it using pip:
pip install cryptographyThe encryption script will encrypt all files in the directory (excluding itself, decrypt.py, and thekey.key). It will generate a random encryption key and save it as thekey.key. The encrypted files will overwrite the originals.
To decrypt the files, you must enter a secret phrase (NotMe). If the correct phrase is entered, the script will decrypt all files in the directory using the saved encryption key (thekey.key). If the wrong phrase is entered, the decryption will not occur.
https://github.com/Abdullah-XDev/File-Encryption-Decryption-Script.git
python3 encrypt.pypython3 decrypt.pyThis script is for educational purposes only. Unauthorized encryption and decryption of files may be illegal. Use responsibly and only on files you have explicit permission to work with.
| Back | FazBrowse Home | New Git URL |