0.1.1 • Published 9 years ago
cipherjs v0.1.1
Javascript implementation of simple Ciphers
Installation
Install the package using yarn:
$ yarn add cipherjsor npm:
$ npm install --save cipherjsUsage
Start by require-ing the module:
const CipherJS = require('cipherjs');It returns an Object of available ciphers, each with their own encrypt and decrypt methods:
const Vigenere = CipherJS.Vigenere;
Vigenere.encrypt('MY SECRET MESSAGE', 'MY SECRET KEY')
// YW KIEIIM WIQEYYICommand-line App
cipherjs comes with a CLI app that lets you encrypt or decrypt data interactively. To use it,
install the package globally:
$ npm install -g cipherjsand just execute cipherjs in your terminal:
$ cipherjsContributing
- Fork, Enhance, Send PR
- Lock issues with any bugs or feature requests
- Implement something from Roadmap
- Spread the word
License
This package is available as open source under the terms of the MIT License.