Skip to content

About

A colourful command-line front-end for shredder-encryptor

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

12 Commits

Folders and files

Repository files navigation

shredder-encryptor-cli

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.

Install

pip install shredder-encryptor-cli

Usage

The 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

Encode

$ echo -n "hello" | shredder-cli encode --format base64
aGVsbG8NCg==i encode 7 bytes with base64
✓ done

Encrypt

$ shredder-cli encrypt --cipher feistel-cbc \
    --key "my-key" --encoding hex \
    --input msg.txt --output msg.enc

Colours

The 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

I can't use!

See more? Install it!

License

MIT. See LICENSE.

About

A colourful command-line front-end for shredder-encryptor

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages