On the Subject of the Pizza Slice CM
A machine that knows no bounds when it comes to ciphers.
From the Fur Cipher module by MageMage.
Create a key using the keyword on screen 1 and the Boolean Expression on screen A. Next, create a lattice consisting of 4 rows of letters. If the Boolean Expression on screen 2 is true, the rows will have 6, 7, 6, and 7 letters from top to bottom. Otherwise, they will be 7, 6, 7, and 6. For each row, alternate between placing a letter from the key and a space, starting with a letter on rows with 7 letters and a space for rows 6 letters. This will be referred to as the Pizza Slice Key.
The offset is currently equal to the number displayed on screen B.
If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.
Encrypt Instructions
- Find the Nth letter of the encrypted word in the Pizza Slice Key.
- Move diagonally up left an amount of spaces determined by your offset divided by 7, dropping any remainders and wrapping around. (When you move off the left or right edge go 2 spaces up instead of 1).
- From there move right an amount of spaces determined by the offset modulo 7, wrapping around to the left side of that row.
- The letter that you end up on becomes your Nth decrypted letter.
- Add the alphabetic position of the Nth encrypted letter (A1Z26) to the offset.
Decrypt Instructions
- Find the Nth letter of the encrypted word in the Pizza Slice Key.
- Move left an amount of spaces determined by the offset modulo 7, wrapping around to the right side of that row.
- From there move diagonally down right an amount of spaces determined by your offset divided by 7, dropping any remainders and wrapping around. (When you move off the left or right edge go 2 spaces down instead of 1).
- The letter that you end up on becomes your Nth decrypted letter.
- Add the alphabetic position of the Nth decrypted letter (A1Z26) to the offset.