Skip to content

🔒 📃 CLI to encrypt or decrypt files with only one command.

License

Notifications You must be signed in to change notification settings

brunocampos01/encrypt-file

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

36 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

📃 Encrypt File 🔒

Python 3 License

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.

Why should I use the encrypt file?

  • 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).

Requirements

This project is tested with:

Requisite Version
Python 3.8.10
Pip 21.2.4

Install

pip install encrypt-file

Usage

  • 🔒 Encrypt 🔒
encrypt-file \
          --func encrypt \
          --file plain_text.txt \
          --password 123456
  • 🔓 Decrypt 🔓
encrypt-file \
          --func decrypt \
          --file plain_text.txt.enc \
          --password 123456

What is the security level?

  • 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.