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

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

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!