Caesar Shift decryption

Enter the shift value:

How do I decrypt a message using the Caesar Cipher?


First we need to know the shift value. This is displayed below after the text that says "Encrypt the following word using a shift of " and is randomised each time.

If this value said 7 we would enter the number 7 into the "Enter shift value" box at the top.
You will see the outer wheel turn so that the letter A on the outer wheel is over the letter H on the inner wheel.

To decode or decrypt a message find the letter from the INSIDE you want to use and the letter next to it on the OUTSIDE is the decoded letter you should write down.

EG If we wanted to decode the word "oha" we would find the letter o on the inside wheel and choose the letter on the outside - o = h. Same with the letter h = a and the same with the letter a = t. oha shifted by 7 and decoded is hat.

Decrypt the following message using a shift of

Enter your answer:


That is right!

The unencrypted message was

That is not correct

Have you spelled it correctly and put in capital letters?


Original idea code from https://github.com/rheh/HTML5-canvas-projects/tree/master/caesar_cipher