vigenere-encryption

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i vigenere-encryption

Weekly Downloads

2

Version

1.0.2

License

ISC

Unpacked Size

6.07 kB

Total Files

8

Last publish

Collaborators

  • peterluczynski