This package has been deprecated

Author message:

This project have reached end-of-life, please use my caesar-salad project instead.

caesar-ciphers

0.1.1 • Public • Published

Build Status Dependency Status Built with Grunt

NPM

Selenium Test Status

caesar-ciphers

browser support

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 --help
Usage:
   caesar-ciphers encrypt [options] text
   caesar-ciphers enc     [options] text (same as encrypt)
   caesar-ciphers decrypt [options] text
   caesar-ciphers dec     [options] text (same as decrypt)
   caesar-ciphers list    [options]      (list implementations)
 
 
Options:
  -s, --shift          the shift parameter, i.e. the encryption key  [default: 1]
  -d, --debug          set debug mode
  -i, --implemenation                                                [default: "NodeBuffer"]
$ caesar-ciphers list
Cipher Implementations:
=======================
StringAppend
EffectiveStringBuilding
TypedArrayBuffer
NodeBuffer
$ caesar-ciphers --shift 1 enc abcdef@example.com
bcdefg@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.

Bitdeli Badge

Readme

Keywords

Package Sidebar

Install

npm i caesar-ciphers

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • schnittstabil