A colourful command-line front-end for
shredder-encryptor.
Everything is built on top of the standard-library argparse; the only
external dependency is the shredder-encryptor package itself.
pip install shredder-encryptor-cliThe CLI exposes three top-level groups:
shredder-cli
├── encode / decode / list # base64, hex, qp, uuencode, ascii85, url-quote
├── encrypt / decrypt / ciphers
│ # vigenere, xor-stream, feistel-ecb, feistel-cbc, sha256
└── key save / load / list / remove
$ echo -n "hello" | shredder-cli encode --format base64
aGVsbG8NCg==i encode 7 bytes with base64
✓ done$ shredder-cli encrypt --cipher feistel-cbc \
--key "my-key" --encoding hex \
--input msg.txt --output msg.encThe CLI follows the NO_COLOR convention:
| environment | effect |
|---|---|
| unset, TTY | colours on, Windows VT |
NO_COLOR=1 |
plain text |
SHREEDER_COLOR=never |
plain text |
SHREEDER_COLOR=always |
colours even when piped |
See more? Install it!
MIT. See LICENSE.