Caesar Cypher

This is an implementation of the Caesar Cipher in JavaScript. It just shifts the characters forward or backward in a message by a key number. To decode, input the negative of that number in the key number

I will use this as a step to implement the Vigenere Cypher. I needed some practice with JavaScript string functions.

Input

Key Number

Output will appear below:

Back to Index