Re: Mathematics of the Enigma cipher?




mensanator@xxxxxxx wrote:
DarkProtoman wrote:
Arthur J. O'Dwyer wrote:
On Sat, 30 Dec 2006, DarkProtoman wrote:
DarkProtoman wrote:

if(Char='A')
return 0;
else if(Char='B')
return 1;
... snip ...
else if(Char='9')
return 36;
}

[...]

No one has given me any ideas of how to implement the reflector yet!

Um, yeah. That may be because it's totally obvious. Or it might be
because nobody thinks you should tackle such a "difficult" concept until
you've figured out how to write "Hello world", first.[1] Remember, you're
the guy who wrote the code I've left partly unsnipped above.
You're whining that nobody will teach you how to cut down trees,
when it looks like our job at this point is to take away your chainsaw
while you still have any appendages left.

-Arthur

[1] - Or maybe both.

OK, never mind. But, I keep forgetting, when the current goes back
through the rotors after passing through the reflector, do the rotors
rotate, or are they fixed?

Current can't pass through a moving rotor because the connections
are interrupted until it stops.

I know, but when the reflector sends the current back the other way, do
the rotors step AT ALL, or do they remain in the same position as they
were?

.



Relevant Pages

  • Re: Mathematics of the Enigma cipher?
    ... snip ... ... Um, yeah. ... You're whining that nobody will teach you how to cut down trees, ... through the rotors after passing through the reflector, ...
    (comp.programming)
  • Re: Mathematics of the Enigma cipher?
    ... through the rotors after passing through the reflector, ... I know, but when the reflector sends the current back the other way, do ... such as eliminating the plug-board, using 36 character wheels, ... Yeah, I really just want to make my own software rotor cipher. ...
    (comp.programming)
  • Re: Mathematics of the Enigma cipher?
    ... snip ... ... Um, yeah. ... You're whining that nobody will teach you how to cut down trees, ... through the rotors after passing through the reflector, ...
    (comp.programming)
  • Re: Mathematics of the Enigma cipher?
    ... A character is mapped to an integer which becomes ... All the Rotors should be advanced ... char val3=R2.GetCharacterIndex; ... I thought the Reflector was fixed. ...
    (comp.programming)
  • Re: Mathematics of the Enigma cipher?
    ... A character is mapped to an integer which becomes ... All the Rotors should be advanced ... char val3=R2.GetCharacterIndex; ... I thought the Reflector was fixed. ...
    (comp.programming)