mirror of
https://github.com/hastagAB/Awesome-Python-Scripts.git
synced 2024-11-27 22:11:07 +00:00
29 lines
471 B
Markdown
29 lines
471 B
Markdown
|
# 🗝 crypt
|
||
|
|
||
|
A command line python script which can Encrypt a given file and also decrypt the encrypted file
|
||
|
|
||
|
|
||
|
|
||
|
#### Pre-requisites
|
||
|
* install pipenv
|
||
|
```sh
|
||
|
$ brew install pipenv
|
||
|
```
|
||
|
|
||
|
* install dependencies
|
||
|
```sh
|
||
|
$ pipenv install
|
||
|
```
|
||
|
|
||
|
#### Usage
|
||
|
* Encrypt file
|
||
|
```sh
|
||
|
$ pipenv run python crypt -e file.txt
|
||
|
```
|
||
|
* Decrypt file
|
||
|
```sh
|
||
|
$ pipenv run python crypt -d file.enc
|
||
|
```
|
||
|
**note**
|
||
|
- `file.enc` will be created if you pass in `file.txt`
|
||
|
- Do not loose the Encryption 🗝
|