On the Subject of the Chain Rotation CM
A machine that knows no bounds when it comes to ciphers.
The number on screen 1 will be referred to as N.
If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.
Encrypt Instructions
- The last letter of the word is your next obtained letter. Remove it from the word.
- Caesar-shift this letter backward by the alphabetic position of what is now the last letter of the word. (Ignore this instruction if you’ve run out.)
- Prepend this letter to the start of your result so far.
- Cycle your result right by N positions.
- Keep repeating the steps above until you run out of letters.
Decrypt Instructions
- Cycle the encrypted word left by N positions.
- Caesar-shift the leftmost letter forward by the alphabetic position of the last obtained letter. (Ignore this instruction if this is the first letter.)
- This is your next obtained letter. Write it down and remove it from the encrypted word.
- Keep repeating the steps above until you run out of letters.
Example 1
Encrypted Word: WOTI
N: 4
Using Encrypt Rules
I - T → O
O → O
T - O → E
EO → EO
O - W → R
REO → ORE
WORE → WORE
Decrypted Word: WORE