Subject: | nudge of rotors not historic - will not validate actual ww2 crytograms |
Date: | Sat, 12 Sep 2009 00:16:49 -0400 |
To: | bug-Crypt-OOEnigma [...] rt.cpan.org |
From: | Bill Ricker <bill.n1vux [...] gmail.com> |
I was hoping to validate the example encryption in a translated ww2
training manual.
To emulate an *actual* Enigma, the internal or day key must include
Ring Settings, which determine when the second and third rotors turn.
Only the first or fast rotor turns each char, the later rotors turn
when the carry stud engages, as on a mechanical odometer.
Crypt-OOEnigma-0.3 Military.pm has
# nudge all the rotors
foreach $r (@rotors){
$r->next();
no, each rotor needs a setting for a minimum of one carry stud,
normally one , normally set by ring setting which also offsets the
displayed characters from transposition network core of the rotor.
some Enigma's had rotors with multiple studs.
on certain models the reflector was rotated by stud on last rotor!
for more information see w1tp's online enigma museum.
--
Bill
n1vux@arrl.net bill.n1vux@gmail.com