caesar-salad-cli
v3.0.0
Published
Caesar, Vigenere and ROT Ciphers
Downloads
16
Maintainers
Readme
caesar-salad-cli
Caesar, Vigenere and ROT Ciphers
Install
$ npm install --global caesar-salad-cli
Usage
$ caesar-salad
Caesar, Vigenere and ROT Ciphers
Usage: caesar-salad [options] [command]
Commands
encrypt [options] [text] encrypt [text], stdin or both
enc [options] [text] (same as encrypt)
decrypt [options] [text] decrypt [text], stdin or both
dec [options] [text] (same as decrypt)
list [options] list supported ciphers
Options
-h, --help output usage information
-V, --version output the version number
-c, --cipher <string> specify the cipher to use [default: "Vigenere"]
-p, --password <string> specify the password to use [default: "b"]
-i, --input <path> specify the input file to use
-o, --output <path> specify the output file to use
Examples
$ caesar-salad list
$ caesar-salad enc unicorn42
$ caesar-salad enc -c=vigenere -p=abc unicorn42
$ caesar-salad enc -c=rot5 unicorn42
$ caesar-salad list
Caesar
ROT5
ROT13
ROT18
ROT47
Vigenere
$ caesar-salad enc [email protected]
[email protected]
$ caesar-salad enc --cipher rot5 [email protected]
[email protected]
Related
- caesar-salad API for this module
License
MIT © Michael Mayer