On the Subject of the Caesarean Role-Switching CM
A machine that knows no bounds when it comes to ciphers.
From the Distance Cipher module by Eltrick and Obvious.
If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.
Encrypt Instructions
- Prepend the letter on screen 1 to the encrypted word.
- Repeat steps 3 - 6 for each letter of the encrypted word starting at the 2nd letter.
- Take the (N - 1)th letter and subtract it by the Nth letter (A1Z26).
- Add the resulting number from step 3 and add it to (N - 1)th letter of the encrypted word (A1Z26).
- If the resulting number falls out of the range of 1 - 26, add/subtract until it is.
- Turn the number back into a letter to get your Nth decrypted letter (A1Z26).
Decrypt Instructions
- The letter shown on screen 1 is your 1st decrypted letter.
- Repeat steps 3 - 6 for each letter of the encrypted word starting at the 1st letter.
- Take the Nth letter of the decrypted word and subtract it by the Nth letter of the encrypted word (A1Z26).
- Take the resulting number from step 3 and add it to the Nth letter of the decrypted word (A1Z26).
- If the resulting number falls out of the range of 1 - 26, add/subtract until it is.
- Turn the number back into a letter to get your (N + 1)th decrypted letter (A1Z26).
- Remove the 1st letter of the decrypted word to get your decrypted word.