1.0.4 • Published 4 years ago

npm-vigenere-cipher v1.0.4

Weekly downloads
2
License
ISC
Repository
github
Last release
4 years ago

npm-vigenere-cipher

npm-vigenere-cipher is a package to cipher and decipher a secret code using passphrase.

Installation

Installation is done using the npm install command:

npm install npm-vigenere-cipher

Usage

const { cipher, decipher } = require('npm-vigenere-cipher');

const message = 'Secret Code.';
const passphrase = 'foobar';
const test = cipher(message, passphrase);
console.log(test);
  //expected output = xGEG4YTqQ44q
console.log(decipher(test, passphrase));
  //expected output = Secret Code

This package only support message and passphrase that contain alphabet, number, space, ".", and ","

1.0.2

4 years ago

1.0.1

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.0

4 years ago