vigenere-encoder
v3.1.3
Published
Vigenere cipher encoder/decoder.
Downloads
20
Maintainers
Readme
vigenere-encoder
Vigenere cipher encoder/decoder. (npm package)
Install
npm i vigenere-encoder
Use
import v from "vigenere-encoder"
Example
import v from "vigenere-encoder"
const text = "Hello, world!"
const key = "my key"
const cipherText = v.encode(text, key)
console.log(cipherText)
const plainText = v.decode(cipherText, key)
console.log(plainText)
output:
tcvpm, gsppj!
hello, world!