Question: Write a program to simulate the Enigma cipher. Use your program to answer the following questions, where the rotor and reflector permutations are known to

Write a program to simulate the Enigma cipher. Use your program to answer the following questions, where the rotor and reflector permutations are known to be RRmRrT=EKMFLGDQVZNTOWYHXUSPAIBRCJ=BDFHJLCPRTXVZNYEIWGAKMUSQO=ESOVPZJAYQUIRHXLNFTGKDCMWB=YRUHQSLDPXNGOKMIEBFZCWVJAT where R is the left rotor, Rm is the middle rotor, Rr is the right rotor, and T is the reflector. The "notch" that causes the odometer effect is at position Q for R,V for Rm, and J for R. For example, the middle rotor steps when the right rotor steps from V to W. a. Recover the initial rotor settings given the following matched plaintext and ciphertext. b. Recover as many of the stecker settings as is possible from the known plaintext
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
