vigenere-encryption
v1.0.2
Published
Cipher and decipher using vigenere cipher
Downloads
4
Readme
description: Npm package for encryption and decryption with vigenere cipher
Vigenere Encryption
Installation
Type this in console to install this package:
$ npm i vigenere-encryption
{% hint style="info" %} Keep in mind that this package is still work in progress {% endhint %}
Usage
Add the module to your javascript file
const encryption = require("./node_modules/vigenere-encryption/index");
The function takes 3 parameters:
- message (message to encode)
- key (the key to use)
- cipherIt (If true it will encrypt if false it will decrypt)
Example usage
const encryption = require("./node_modules/vigenere-encryption/index");
console.log(encryption(message.value, key.value, false));