Vigenere Cipher in node
const Encrypt = require('ciphervgnr');
let text = 'Kestrel Is Under Attack';
let key = 'Wardog';
//Encrypt
let code = Encrypt(text, key); //output: Gejwfkh Ij Xbjar Rwhgyk
//Decrypt
Encrypt(code, key, true); //output: Kestrel Is Under Attack