On the Subject of the Composite Spinning/Jumping Leapfrog Orphanage CM

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

From the Off-White Cipher module by TandyCake, Dicey, and Diffuse.

First an orphanage must be opened. The orphanage consists of a 5×5 grid. Initially the orphanage starts off as the uninteresting grid featured below.

ABCDE
FGHIJ
KLMNO
PQRST
UVWYZ

Take the 4 letters on screen 1. These are your orphans. They will enhance and modify the orphanage according to their personalities. Each letter is the first name of an orphan.

For each orphan in order, find its shape in the below tables. Rotate this shape 180 degrees about its center to translate the shaded cells to new positions.

Annie Bartholomew James Quimshire Crusty McGoblin Denzel Evanie
Fletcher Gunther Hilbert Isma Jub-Jub
Kontraction Ljubljana Mustard Nicholas Orphanius
Pleasant Park Queen Elizabeth II Rhojus Sal Vulcano Tariq
Undertale Victoria Wankel X Æ A-12 Yonkers
Zzz_W33DM4St3R44_zzZ

After performing 4 rotations, the resulting grid is the used orphanage.

Split the encrypted word into pairs. If there is an odd amount of letters, leave the last letter as the odd letter. Depending on which instruction is required, apply it to each pair of letters.

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

Encrypt Instructions

  • Find the Nth pair of letters in the orphanage.
  • If the pair of letters are the same, the encrypted pair is two of the letter diametrically opposite in the matrix.
  • Otherwise, make the 2nd letter jump directly over the 1st letter on the Orphanage such that the path taken by Letter 2 has it's midpoint located at Letter 1.
  • Then make Letter 1 jump over this acquired letter in the same way. Wrap around the orphanage if needed (all orphanages are torodial).
  • Finally swap the 2 letters, reversing the order of the letter pair.

Decrypt Instructions

  • Find the Nth pair of letters in the orphanage.
  • If the pair of letters are the same, the encrypted pair is two of the letter diametrically opposite in the matrix.
  • Otherwise, make the 1st letter jump directly over the 2nd letter on the Orphanage such that the path taken by Letter 1 has it's midpoint located at Letter 2.
  • Then make Letter 2 jump over this acquired letter in the same way. Wrap around the orphanage if needed (all orphanages are torodial).

Finally, if any of the letters on screen 2 match at the same position as any of the letters of your encrypted word, replace that letter with a X. You should now have an decrypted word.

Example 1

Encrypted Word: JEQVUU
Screen 1: PFRC
Screen 2: VVQDJR
Using Encrypt Rules

A B C D E
F G H I J
K L M N O
P Q R S T
U V W Y Z
P→
A B N D L
F G H I J
K E M C O
P Q R S T
U V W Y Z
F→
A B N D L
F G T S J
K E M C O
P Q R I H
U V W Y Z
R→
A B N D L
F Q P S J
M E K C O
T G R I H
U V W Y Z
C→
A B N D L
F I R G J
O E K C M
T S P Q H
U V W Y Z

JE → NU → UN
QV → OR → RO
UU → LL

UNROLL + VVQDJR → UNROLL

Decrypted Word: UNROLL

Example 2

Encrypted Word: QUJDFVT
Screen 1: HBSQ
Screen 2: TIZNQIL
Using Decrypt Rules

A B C D E
F G H I J
K L M N O
P Q R S T
U V W Y Z
H→
A B C D E
R G P I J
M L K N O
H Q F S T
U V W Y Z
B→
A B C D E
R G P I J
M L Y W O
H Q S F T
U V N K Z
S→
A B N V E
R F P I J
M L Y W O
H Q S G T
U D C K Z
Q→
A B N V E
K F P I J
G L Y H O
W Q S M T
U D C R Z

QU → EI
JD → HA
FV → US

EIHAUST + TIZNQIL → EXHAUST

Decrypted Word: EXHAUST