viginere

1.1.0 • Public • Published

Viginere

An implementation of the Viginere Cipher, providing utility methods to encrypt and decrypt text, using a supplied keyword in order to remove the chance of the cipher being broken by frequency analysis.

Installation

  npm install viginere --save

Usage

  var viggy = require('viginere')
  var plaintext = "secret you want to hide",
  var key = "cicero"
 
  var ciphertext = viggy.encrypt(key, plaintext);
 
  var decodedCiphertext = viggy.decrypt(key, ciphertext);
 

Tests

Currently no testing framework in place

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 1.0.0

Package Sidebar

Install

npm i viginere

Weekly Downloads

2

Version

1.1.0

License

GPL-3.0

Last publish

Collaborators

  • daedalbug