caesar-ciphers
Multiple implementations of the Caesar Cipher.
Development Stage
This software is in pre-alpha stage.
Command Line Interface
Installation
[sudo] npm install caesar-ciphers -g
Usage
$ caesar-ciphers --helpUsage: caesar-ciphers encrypt [options] text caesar-ciphers enc [options] text caesar-ciphers decrypt [options] text caesar-ciphers dec [options] text caesar-ciphers list [options] Options: -s, --shift the shift parameter, i.e. the encryption key [default: 1] -d, --debug set debug mode -i, --implemenation [default: "NodeBuffer"]
$ caesar-ciphers listCipher Implementations:=======================StringAppendEffectiveStringBuildingTypedArrayBufferNodeBuffer
$ caesar-ciphers --shift 1 enc abcdef@example.combcdefg@fybnqmf.dpn
Removal
[sudo] npm uninstall caesar-ciphers -g
Node.js
Installation
npm install caesar-ciphers --save
Usage
var Cipher = require('caesar-ciphers').defaultCipher;var cipher = new Cipher(3);cipher.encrypt('abcdef@example.com');// retuns 'defghi@hadpsoh.frp'
Removal
npm uninstall caesar-ciphers
License
Copyright (c) 2014 Michael Mayer
Licensed under the MIT license.