How do I encrypt 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 encode or encrypt a message find the letter from the OUTSIDE you want to use and the letter next to it on the INSIDE is the coded letter you should write down.
EG If we wanted to encode the word "hat" we would find the letter h on the outside wheel and choose the letter on the inside - h = o. Same with the letter a = h and the same with the letter t = a. Hat shifted by 7 and encoded is oha.
Encrypt the following word using a shift of
Enter your answer:
That is right!
The encrypted 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