Re: Mathematics of the Enigma cipher?




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.
.



Relevant Pages