caesar-salad-cli

Caesar, Vigenere and ROT Ciphers


Keywords
cli-app, cli, Caesar, Cipher, Vigenere, ROT, ROT13, ROT18, ROT47, ROT5
License
MIT
Install
npm install caesar-salad-cli@3.0.0

Documentation

caesar-salad-cli Build Status Coverage Status XO code style

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 abcdef-0123456789@example.com
bcdefg-0123456789@fybnqmf.dpn

$ caesar-salad enc --cipher rot5 abcdef-0123456789@example.com
abcdef-5678901234@example.com

Related

License

MIT © Michael Mayer