1.0.2 • Published 5 years ago

vigenere-encryption v1.0.2

Weekly downloads
1
License
ISC
Repository
-
Last release
5 years ago

description: Npm package for encryption and decryption with vigenere cipher

Vigenere Encryption

link to github repo

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:

  1. message (message to encode)
  2. key (the key to use)
  3. 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));