@leodog896/vigenere-cipher
v0.0.1
Published
Pure TS vigenere cipher implementation
Downloads
1
Readme
vigenere cipher
deno implementation of the vigenere cypher in typescript.
Available via deno (vigenere_cipher
) or node (@leodog896/vigenere-cipher
)
import { encrypt, decrypt } from "https://deno.land/x/vigenere_cipher"; // with npm: @leodog896/vigenere-cipher
const encrypted = encrypt("This is a test", "deNo") // "Wlvg lw n hhwg"
const decrypted = decrypt("Wlvg lw n hhwg", "deNo") // "THis is a test"