Loops, Conditional Statements, Functions, Vairables, Parameters, Arrays, Associative Arrays.

Vigenere Cipher Demonstration

This tool uses the Vigenere Cipher to demonstrate functions, arrays, loops, and other JavaScript basics. It does not cover passing parameters, though with some minor adjustments it could. It works by taking your input string and keyword then translating your output to ciphered text. You can also translate ciphered text back into plaintext if you have the keyword it was encrypted with.

Message to encrypt or decrypt:

Cipher Key:

Encrypted or decrypted text:

JavaScript Source: