1.1.0 • Published 7 years ago

viginere v1.1.0

Weekly downloads
3
License
GPL-3.0
Repository
github
Last release
7 years ago

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