vigenere

npm package for basic encoding and decoding.

Usage no npm install needed!

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

README

vigenere

npm package for basic encoding and decoding.

Based on the Vigenère cipher.

Example

var Vigenere = require('vigenere');

var secretMessage = Vigenere.encode('omg total secret', 'hax0rk3y');
// => 'vmd kysys pdtbdr'

var decodedMessage = Vigenere.decode('vmd kysys pdtbdr', 'hax0rk3y');
// => 'omg total secret'