On the Subject of the Sean CM

Create a key using the keyword on screen 1 and the Boolean Expression on Screen A. Split the key in half and place the 2nd half underneath the 1st half. This will be referred to as "THE SEAN SHIFTER".

If the Boolean Expression on screen 2 is true, follow the instructions under Instruction Set A. Otherwise follow the instructions under Instruction Set B.

Instruction Set A

For each letter of the encrypted word, do the following:

  • Find the Nth letter of the encrypted word in THE SEAN SHIFTER and replace it with the letter above/below.
  • Take the last letter of the top half of THE SEAN SHIFTER and place it at the front of the top half.
  • Swap the first letter of the top half with the first letter of the bottom half of THE SEAN SHIFTER.
  • Take the first letter of the bottom half of THE SEAN SHIFTER and place it at the back of the bottom half.

Instruction Set B

For each letter of the encrypted word, do the following:

  • Find the Nth letter of the encrypted word in THE SEAN SHIFTER and replace it with the letter above/below.
  • Take the last letter of the bottom half of THE SEAN SHIFTER and place it at the front of the bottom half.
  • Swap the first letter of the top half with the first letter of the bottom half of THE SEAN SHIFTER.
  • Take the first letter of the top half of THE SEAN SHIFTER and place it at the back of the top half.

The resulting letters should form a decrypted word.

Example 1

Encrypted Word: YQWNDQ
Sean Shifter: CONTRASBDEFGHIJKLMPQUVWXYZ
Using Instruction Set A

CONTRASBDEFGH
IJKLMPQUVWXYZ

Y → G

ICONTRASBDEFG
JKLMPQUVWXYZH

Q → R

JICONTRASBDEF
KLMPQUVWXYZHG

W → A

KJICONTRASBDE
LMPQUVWXYZHGF

N → V

LKJICONTRASBD
MPQUVWXYZHGFE

D → E

MLKJICONTRASB
PQUVWXYZHGFED

Q → L

Decrypted Word: GRAVEL

Example 2

Encrypted Word: MEADS
Sean Shifter: NEATHBCDFGIJKLMOPQRSUVWXYZ
Using Instruction Set B

NEATHBCDFGIJK
LMOPQRSUVWXYZ

M → E

EATHBCDFGIJKZ
NLMOPQRSUVWXY

E → N

ATHBCDFGIJKZY
ENLMOPQRSUVWX

A → E

THBCDFGIJKZYX
AENLMOPQRSUVW

D → M

HBCDFGIJKZYXW
TAENLMOPQRSUV

S → Y

Decrypted Word: ENEMY