Answered step by step
Verified Expert Solution
Question
00
1 Approved Answer
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
Step: 1
Get Instant Access with AI-Powered Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started