Python Forum
Enigma Machine, I need help! - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Enigma Machine, I need help! (/thread-6259.html)

Pages: 1 2 3 4 5 6 7


RE: Enigma Machine, I need help! - sparkz_alot - Nov-21-2017

(Nov-21-2017, 10:36 PM)Larz60+ Wrote: I have been working on the assumption that the model is the Wehrmacht I. If I am in the wrong, please advise.

I don't think the OP had any particular model in mind:
Quote:I am not replicating an exact Enigma Machine as you may have noticed, For me, it is more interesting to have a functioning machine, that works with the same principles. So de facto I can add my own tweaks and changes (like spacebar and dot).

I would say that since the Wehrmacht (Army) had the greatest number of machines, it would be a very good choice.


RE: Enigma Machine, I need help! - Kimkuq - Nov-22-2017

(Nov-21-2017, 10:36 PM)Larz60+ Wrote: I will post whatever I have done on GitHub before quitting.

Thank you very much, it sounds like you pretty much improved my program in every possible way! Far more than I actually needed! But I am so happy, to have you helping me out, showing how to write a "professional" program if I may say so. I will try to copy your model for future, bigger programs!
This will be a great help, so many thanks! :))

And for your doubt on which model to use: yes, I had in mind the models of the Wehrmacht in the german army. But as I said, the program wouldn't have to overflow in details, but I am guessing there isn't much missing anymore, so thanks a lot!


RE: Enigma Machine, I need help! - Larz60+ - Nov-22-2017

The framework is there, need to make it all work now.
The rotor code is simi correct, but I had misunderstood a few things.
Had to go to the doctors office yesterday (standard visit), so re-read it's operation
from several documents. Most of the documents (which you probably figured out)
give part but not all of how different parts work.

My sleep schedule is all messed up as the doc changed my blood sugar and pressure medications
(which are the only things I need, hate any kind of drug), so it's affecting my sleep a bit.

I'm having fun.

I was thinking of using a canvas to create the light board and make it all more realistic.
plan on doing same with plugboard (barely started).


RE: Enigma Machine, I need help! - sparkz_alot - Nov-22-2017

Indeed, at first I thought that the rings tripped after 26, but after further reading realized that there are 'tabs' on the rotor ring (for the Wehrmacht machine), in fact several, which does the actual tripping. The other thing that still has me confused, is the 'key', which was transmitted in the header of the message as a five letter group, the first two letters could be gibberish, but the last 3 were the 'key' and were sent in the clear. Of course, the one time page I was looking at is from 1944, after the Enigma I, and I can't find any info as to what the 'key' was used for. Perhaps the Wehrmacht switched from a 'set' reflector to an adjustable one?  If so, it would have added another level of security I suppose.


RE: Enigma Machine, I need help! - Larz60+ - Nov-22-2017

Could you give me a reference to the document that mentions a key.
I didn't see that one. I did read that there were two possible reflector 'wheels',
but now think I need to read this one more time.


RE: Enigma Machine, I need help! - sparkz_alot - Nov-22-2017

Here is the image of the one time page:

Here are the headings (courtesy Google Translate):

Output:
Datum = date Ringstellung = ring position Steckerverbindungen = plug connections Kenngruppen = characteristics groups
From what I understand, the sender would select a random group of letters from the Kenngruppen (key), this would be sent in the clear within the header. 

The site is located here: http://users.telenet.be/d.rijmenants/en/enigmaproc.htm (home page: http://users.telenet.be/d.rijmenants/


RE: Enigma Machine, I need help! - Larz60+ - Nov-22-2017

There were two versions of the Wehrmacht I , one for the army and one for the Navy.
This book is apparently for the navy version.
Nevertheless, I'd like to see if I can find a downloadable copy.
I looked on archive.org where I usually have very good luck, but no hits, at least not yet.

Kimkug, have you found anything like this?

update -- There was a download link on the page sparkz_alot linked to.


RE: Enigma Machine, I need help! - sparkz_alot - Nov-22-2017

(Nov-22-2017, 08:32 PM)Larz60+ Wrote: This book is apparently for the navy version.

Which book are you referring to?


RE: Enigma Machine, I need help! - Larz60+ - Nov-22-2017

The Kenngruppenbuch manual, got it (I think, haven't looked at what I downloaded yet),
it was on the page of the link you provided.


RE: Enigma Machine, I need help! - sparkz_alot - Nov-22-2017

Didn't know there was a book available  Tongue .  Been clicking on too many links I think.