playground
Any cipher. Right here, in the page.
The page imports @agntn/ciphers and runs it in your browser. What you type never leaves the tab, and every state is a link you can paste to someone.
Classical ciphers are for puzzles and lessons. Nothing on this page protects a secret from anyone with a laptop.
create("vigenere").encode
LXFOPV EF RNHR
- cipher
- vigenere · Polyalphabetic
- operation
- encode
- options
- { key: "LEMON", preserveCase: true, stripNonAlpha: false }
$CLI
ciphers encode vigenere 'ATTACK AT DAWN' --key LEMONtoolcipher_encode
{
"name": "cipher_encode",
"arguments": {
"cipher": "vigenere",
"text": "ATTACK AT DAWN",
"key": "LEMON"
}
}