Vigenère Cipher Decoder 3000
Decoding Secrets with Ease (and a Little Bit of Magic)
Are you tired of being locked out of your own secrets? Do you want to unscramble the cryptic messages of your enemies? Look no further! The Committee of Conundrums' Vigenère Cipher Decoder 3000 is here to help.
// Vigenère Cipher Decoder 3000
// by the Committee of Conundrums
// for the confused and the cryptic
//
// Example usage:
//
// input: "Beware the meerkats"
// output: "KCATS ARE LOOSE IN THE WARDROBES"
//
// decoder:
//
// char = "B"
// key = "MEERKAT"
//
// char = char + 1
// char = char + 1
// char = char + 1
// ... until end of key
//
// return decoded string
Simply plug in your encrypted message, select your cryptic keyword, and let the Decoder 3000 do its magic. It's as simple as solving a puzzle, but with more beards.
// Vigenère Cipher Decoder 3000
// by the Committee of Conundrums
// for the confused and the cryptic
//
// function decode(input, key) {
// var char = input.charAt(0);
// var key = key.charAt(0);
// var decoded = "";
// for (var i = 0; i < input.length; i++) {
// char = char + 1;
// char = char + 1;
// ... until end of key
// decoded += char;
// return decoded;
// }
//
// return decoded;
// }
Remember, this is a one-time offer. Don't let your secrets be secrets forever.