mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-23 20:11:07 +00:00
63cb0ba71b
* encrypts a given file * decrypts it back to original * updating main readme |
||
---|---|---|
.. | ||
.gitignore | ||
crypt.py | ||
Pipfile | ||
Pipfile.lock | ||
README.md |
🗝 crypt
A command line python script which can Encrypt a given file and also decrypt the encrypted file
Pre-requisites
- install pipenv
$ brew install pipenv
- install dependencies
$ pipenv install
Usage
- Encrypt file
$ pipenv run python crypt -e file.txt
- Decrypt file
$ pipenv run python crypt -d file.enc
note
file.enc
will be created if you pass infile.txt
- Do not loose the Encryption 🗝