On the Subject of the Monoalphabetic Rubik’s Cube CM

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

The two keywords on screens 1 and 2 will be referred to as keyword A and keyword B, respectively.

First, create an alphabet key from keyword A. Append the full alphabet to it, then remove all duplicate letters (retain first occurrences).

Create two 3×3×3 cubes. The first, Cube A, should be filled with letters A–Z as shown in the diagrams below (note that the center cubelet is omitted). The second, Cube B, must be filled with the alphabet key in the order in which the below diagrams have the letters KENVMPABCDFGHIJLOQRSTUWXYZ. (Mnemonic: fill the face centers first in the below order, then the rest of the front, middle and back layers in reading order as seen from the front.)

For each letter of keyword B, perform one of the below rotations on Cube B (meaning: cycle the eight highlighted letters in the indicated direction, which is always clockwise when looking toward the relevant face of the cube) a number of times as given by the table underneath.

U X R U X R U X R U M O J M O J M O J M O M J M D G D G A D G A D A S V Y S V Y V Y V S V Y S V K P K P K P K P K P K P E E H B E H B E H B E H E B T W Z W Z T W Z T W L N Q N N Q L N Q L N Q L N F I F I C F I C F C R R U X R U X X J J O O A D G A D G A G S S Y Y H B B H T W Z T W Z T Z L Q L Q F I C C F I C I Up Front Right Back Left Down ABCDY EFGHZ IJKL MNOP QRST UVWX
Letter from keyword BAEIMQUYBFJNRVZCGKOSWDHLPTX
Number of cycles1357

Finally, if the Submit Button is black, find each letter of the encrypted word in Cube B and replace it with the letter in the same position in Cube A. If the Submit Button is white, do the same with Cube A and Cube B swapped. When completed, you obtain the deciphered word.

Example

Encrypted word: ITLUEW
Keyword A: SINKING → key: SINKGABCDEFHJLMOPQRTUVWXYZ
Keyword B: VINE → rotations: 3×D, 1×R, 3×B, 1×F

B C D E I F M S O G N A R T U V K W B C E I Y X M S G N Z A R T V K Q L B C F E I P Y X H M S D G N Z A J K I M S D G N Z A J U W L O K Q T R V B C D E I F H J L M S O G N P A Q R T U V K W X Y Z Initial 3 × Down 1 × Right 3 × Back 1 × Front Final Y X P Z H Q L J F P H D J O U W U W L O Q T R V E B C Y F X H P E B C Y I F X H P M S D G N Z A J U W L O K Q T R V
E B C Y I F X H P M S D G N Z A J U W L O K Q T R V A B C D E F G H I J K L M N O P Q R S T U V W X Y Z Cube A Cube B
I → E
T → X
L → T
U → R
E → A
W → S

Using decryption instructions (Submit Button is black)

Decrypted Word: EXTRAS