vigenere-encryption

Cipher and decipher using vigenere cipher

Usage no npm install needed!

<script type="module">
  import vigenereEncryption from 'https://cdn.skypack.dev/vigenere-encryption';
</script>

README


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));