On the Subject of the Solitaire CM

A machine that knows no bounds when it comes to ciphers.

Concatenate the characters on screens 1 - 4 in that order. This will be referred to as the Solitaire Key.

If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.

Encrypt Instructions

  • Shift the character 1 to the right once in the Solitaire Key, wrapping around if necessary.
  • Shift the character 2 to the right twice in the Solitaire Key, wrapping around if necessary.
  • Swap the characters to the left of the leftmost number with the characters to the right of the rightmost number in the Solitaire Key.
  • Count off the number of characters on the left equal to the alphabetic position (A1Z26) of last character of the Solitaire Key.
  • Take these characters and insert them in between the 2nd to last and last character of the Solitaire Key.
  • Count off the number of characters on the left equal to the alphabetic position (A1Z26) of the first character of the Solitaire Key.
  • Take note of the character AFTER the characters you counted in the Solitaire Key.
  • Take the sum of the alphabetic positions (A1Z26) of the Nth encrypted letter and the character you got from the previous step.
  • If the result is above 26, subtract 26 until the number is between 1 - 26. Turn the resulting number back into a letter.
  • Do this for each letter of the encrypted word to get your decrypted word.

Decrypt Instructions

  • Shift the character 1 to the right once in the Solitaire Key, wrapping around if necessary.
  • Shift the character 2 to the right twice in the Solitaire Key, wrapping around if necessary.
  • Swap the characters to the left of the leftmost number with the characters to the right of the rightmost number in the Solitaire Key.
  • Count off the number of characters on the left equal to the alphabetic position (A1Z26) of last character of the Solitaire Key.
  • Take these characters and insert them in between the 2nd to last and last character of the Solitaire Key.
  • Count off the number of characters on the left equal to the alphabetic position (A1Z26) of the first character of the Solitaire Key.
  • Take note of the character AFTER the characters you counted in the Solitaire Key.
  • Subtract the alphabetic position (A1Z26) of the Nth encrypted letter by the alphabetic position (A1Z26) of the character you got from the previous step.
  • If the result is below 0, add 26 until the number is between 1 - 26. Turn the resulting number back into a letter.
  • Do this for each letter of the encrypted word to get your decrypted word.

Extra Notes

If the resulting character you get from any step is a 1, use the alphabetic position of the 1st letter on screen A.

If the resulting character you get from any step is a 2, use the alphabetic position of the 2nd letter on screen A.

Example

Encrypted Word: TIBI
Key: 1TULMYCOIKQRBXZDAPJ2HNFGVWES
Screen A: WN
Using Decrypt Rules

1TULMYCOIKQRBXZDAPJ2HNFGVWES
T1ULMYCOIKQRBXZDAPJHN2FGVWES
FGVWES1ULMYCOIKQRBXZDAPJHN2T
DAPJHN2FGVWES1ULMYCOIKQRBXZT
Resulting Character: H

T - H → 12 → L

DAPJHN2FGVWES1ULMYCOIKQRBXZT
DAPJHNFG2VWESU1LMYCOIKQRBXZT
LMYCOIKQRBXZT2VWESU1DAPJHNFG
QRBXZT2VWESU1DAPJHNFLMYCOIKG
Resulting Character: H

I - H → 1 → A

QRBXZT2VWESU1DAPJHNFLMYCOIKG
QRBXZTVW2ESUD1APJHNFLMYCOIKG
APJHNFLMYCOIKG2ESUD1QRBXZTVW
XZTVAPJHNFLMYCOIKG2ESUD1QRBW
Resulting Character: Q

B - Q → -15 + 26 → 11 → K

XZTVAPJHNFLMYCOIKG2ESUD1QRBW
XZTVAPJHNFLMYCOIKGES2UDQ1RBW
RBW2UDQ1XZTVAPJHNFLMYCOIKGES
MYCOIKGERBW2UDQ1XZTVAPJHNFLS
Resulting Character: D

I - D → 5 → E

Decrypted Word: LAKE

You can use this table as a way to get your decrypted letters. To do so, follow the instructions below:

  • Use the resulting character as the row.
  • If you are adding, use the encrypted word's letter as the column. The intersection of the 2 will be your decrypted letter.
  • If you are subtracting, find the encrypted word's letter within the row. The column that the letter is in becomes your decrypted letter.
ABCDEFGHIJKLMNOPQRSTUVWXYZ
ABCDEFGHIJKLMNOPQRSTUVWXYZA
BCDEFGHIJKLMNOPQRSTUVWXYZAB
CDEFGHIJKLMNOPQRSTUVWXYZABC
DEFGHIJKLMNOPQRSTUVWXYZABCD
EFGHIJKLMNOPQRSTUVWXYZABCDE
FGHIJKLMNOPQRSTUVWXYZABCDEF
GHIJKLMNOPQRSTUVWXYZABCDEFG
HIJKLMNOPQRSTUVWXYZABCDEFGH
IJKLMNOPQRSTUVWXYZABCDEFGHI
JKLMNOPQRSTUVWXYZABCDEFGHIJ
KLMNOPQRSTUVWXYZABCDEFGHIJK
LMNOPQRSTUVWXYZABCDEFGHIJKL
MNOPQRSTUVWXYZABCDEFGHIJKLM
NOPQRSTUVWXYZABCDEFGHIJKLMN
OPQRSTUVWXYZABCDEFGHIJKLMNO
PQRSTUVWXYZABCDEFGHIJKLMNOP
QRSTUVWXYZABCDEFGHIJKLMNOPQ
RSTUVWXYZABCDEFGHIJKLMNOPQR
STUVWXYZABCDEFGHIJKLMNOPQRS
TUVWXYZABCDEFGHIJKLMNOPQRST
UVWXYZABCDEFGHIJKLMNOPQRSTU
VWXYZABCDEFGHIJKLMNOPQRSTUV
WXYZABCDEFGHIJKLMNOPQRSTUVW
XYZABCDEFGHIJKLMNOPQRSTUVWX
YZABCDEFGHIJKLMNOPQRSTUVWXY
ZABCDEFGHIJKLMNOPQRSTUVWXYZ