 ## On the Subject of the Cipher Machine

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

• The big screens on the left are labeled 1 - 4, top to bottom. The smaller screens on the right are labeled A - D, top to bottom.
• The screen on the bottom right not only displays the current page number, but also displays what cipher it uses via a 2 letter key. It also acts like a submit button while in submission mode.
• To enter submission mode, type on the module using the keyboard below. Submit the decrypted word to solve the module.

The text on the 1st screen on page 1 is the encrypted word. This word can be 4 - 8 letters long. Each page after the first displays the cipher that the module used.

Each cipher has at least 1 page to display what cipher it uses on the page number/submit button screen. Use the 2 letter key after the page number to determine which cipher it used. Then, follow the steps to decrypt the encrypted word.

By default, there is a total of 3 ciphers that the word was encrypted by. Follow the instruction for each cipher in page number order to decrypt your encrypted word.

Sometimes a cipher might say "Convert the letter on screen N to a Value via the Value Table". Use the letter on the Value Table to get a value from it.

More often, a cipher might say "If the Boolean Expression on screen N is true...". The first letter determines the Boolean Expression it uses. Convert the letter(s) after that via the Value Table to represent X and/or Y.

If a cipher says to "Create a key using the keyword and the Boolean Expression", do the following instructions:

• 1. Remove any duplicate letters from the keyword, keeping each letter's first occurrence.
• 2. Then take the alphabet and remove any occurrences of all the letters in your current key.
• 3. If the Boolean expression is true, place the alphabet at the end of your key. Otherwise place the alphabet at the beginning of your key.

On every page with a cipher (except for the last cipher), one of the letters on the keyboard will be colored yellow. The alphabetic position (A1Z26) of this letter is the result of a checksum being done on the encrypted word BEFORE applying the cipher that it is currently on. You can use this to check if you apply the cipher correctly to the encrypted word. To calculate the checksum, use the equation below:

(X1 * 1 + X2 * 2 + ... + XN * N) mod 23 + 1

X is equal to the alphabetic position (A1Z26) of that letter.

#### Value Table

A J S Batteries 1st SN Character (Base 36) 2nd SN Digit Battery Holders 2nd SN Character (Base 36) Sum of SN Digit D Batteries 3rd SN Character Sum of SN Letters (A1Z26) AA Batteries / 2, rounded up 4th SN Character (A1Z26) Sum of SN Characters (Base 36) Indicators 5th SN Character (A1Z26) Day of the Week* (Sunday is 0) Lit Indicators 6th SN Character Day* Unlit Indicators 1st SN Letter (A1Z26) Month* Ports 2nd SN Letter (A1Z26) Digital Root of (Year* mod 1000) Port Plates 1st SN Digit
A X is even X is odd X is prime X is composite X is part of the Fibonacci Sequence X is NOT part of the Fibonacci Sequence X modulo 4 is 0 or 1. X modulo 4 is 2 or 3. X and Y share the same parity X and Y are opposite parities X and Y are coprime X and Y are NOT coprime X is greater than or equal to Y X is less than or equal to Y X and Y, modulo 4, is both (0 or 1) OR (2 or 3) X and Y, modulo 4, is (0 or 1) XOR (2 or 3)

The Fibonacci sequence starts with (1, 1) and each number after is determined by the sum of the previous 2 numbers.

2 numbers are coprime if the Greatest Common Divider/Denominator between them is 1.

#### Configurable Mission Settings

This module can be customized to suit any mission maker's needs/wants. To configure each individual Cipher Machine, use this template for each one and write it in the description of your mission:

[Cipher Machine] Len = , Order = , Pick = , Ciphers =

Len: A list of word lengths you would like to use. Ex: len = 47 will pick a word that has a length of either 4 or 7. The numbers have to be within the range of 4 - 8. By not writing this property, the default list it will use is 4 - 8.

Order: The type of order you want the ciphers to be in. There are only 2 types of orders: Fixed and Random. Fixed will be in the order that you write the ciphers in the ciphers property. Random will shuffle the ciphers you write in the ciphers property. By not writing this property, the default type will be Random.

Pick: A number that determines how many ciphers you want to choose from the list of ciphers in the ciphers property. By not writing this property, the default value will be the number of ciphers in the ciphers property.

Ciphers: A list of ciphers you would like to use in the Cipher Machine. Find the cipher you want and write the 2 letter code that is associated with it. Optionally, you can add the letter E/D to the end of it to make the cipher use the Encrypt/Decrypt rules of that cipher. By not writing down the E/D, it will pick randomly between the 2. Make sure to leave a space between each cipher. Ex: Ciphers = AT FO IPD RZE, will do Atbash, Foursquare that will randomly pick between E/D, Incremental Polyalphabetic using Decrypt Rules, and Rozier using Encrypt Rules. By not writing this property, it will choose any random cipher from the module.