On the Subject of the Bit Switch CM
A machine that knows no bounds when it comes to ciphers.
The 2 digit numbers on screen 1 will be referred to as the input numbers and the 2 digit numbers on screen 2 will be referred to as the output numbers.
Each input number goes through a scrambler, scrambling its bits, displaying the result shown in each output number. Figure out how the scrambler works by turning each number into a 5 bit binary sequence and comparing each input number with its corresponding output number.
If the Submit Button is white, follow the instructions under Encrypt Instructions. Otherwise follow the instructions under Decrypt Instructions.
Encrypt Instructions
- Convert the Nth letter of the encrypted word into a number using its alphabetic position (A1Z26).
- Convert the number into a 5 digit binary sequence. If the Nth bit of the binary sequence on screen 3 is a 1, invert the bits.
- Scramble the bits in the same fashion that the scrambler did.
- Convert the resulting binary sequence back into a number, then back into a letter (A1Z26).
- Do this for each letter of the encrypted word to get a decrypted word.
Decrypt Instructions
- Convert the Nth letter of the encrypted word into a number using its alphabetic position (A1Z26).
- Convert the number into a 5 digit binary sequence. If the Nth bit of the binary sequence on screen 3 is a 1, invert the bits.
- Unscramble the bits, undoing the scrambler’s process.
- Convert the resulting binary sequence back into a number, then back into a letter (A1Z26).
- Do this for each letter of the encrypted word to get a decrypted word.