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
where Re is the left rotor, Rm is the middle rotor, R,. is the right rotor, and T is the reflector. The "notch" that causes the odometer effect is at position Q for Re, V for Rm, and J for Rr. 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.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here