CLI to encrypt or decrypt files with only one command
__ _____ __
___ ____ ____________ ______ / /_ / __(_) /__
/ _ \/ __ \/ ___/ ___/ / / / __ \/ __/ / /_/ / / _ \
/ __/ / / / /__/ / / /_/ / /_/ / /_ / __/ / / __/
\___/_/ /_/\___/_/ \__, / .___/\__/ /_/ /_/_/\___/
/____/_/
Encrypt or decrypt files with ONLY ONE COMMAND
----------------------------------------------------------------------
PARAMETERS
func: encrypt
password: 123456
file_path: tests/plain_text.txt
Encrypting ...
Encrypted file at tests/plain_text.txt.enc
Execution time: 0.01 seconds
The encrypt file is a CLI for encrypting and decrypting files.
- No Code: When there is no need to code something you can simply use encrypt file.
- Abstraction of cryptographic algorithms: you don't need to know what goes on behind the scenes in encrypt file (but if you want, just see it on github).
This project is tested with:
Requisite | Version |
---|---|
Python | 3.8.10 |
Pip | 21.2.4 |
pip install encrypt-file
- 🔒 Encrypt 🔒
encrypt-file \
--func encrypt \
--file plain_text.txt \
--password 123456
- 🔓 Decrypt 🔓
encrypt-file \
--func decrypt \
--file plain_text.txt.enc \
--password 123456
- Even using low-quality passwords, encrypt file tries to make things as secure as possible because it is implemented using PBKDF2 key deviation with SHA256 hash, a 16-bit random salt and 10,000 rounds.