Forum Index
SUBSIM Forum Search

The Web's #1 BBS for all submarine and naval simulations!
[ SUBSIM Review ] [ SUBSIM STORE ]
Current Forum | Archives 2002-2003 |

So, how secure is/was ENIGMA?
Goto page 1, 2, 3, 4  Next
 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter III
View previous topic :: View next topic  
Author Message
jumpy



Joined: 12 May 2003
Posts: 794
Location: Midlands, UK

PostPosted: Wed May 18, 2005 10:31 am    Post subject: So, how secure is/was ENIGMA? Reply with quote

I know that to all intents and purposes the Enigma cypher was cracked (otherwire I'd be writing in German now..), but how secure is/was it? I'm thinking of the sim that was posted on here a while back. Surely without the code books or a captured machine it would have been almost impossible for the allies to crack an arbitary string of letters, without some foreknowlege of how the device actually encoded information?
So what I'm saying is: Enigma was impervious to deciphering without the allies lucky break in their intellegence. True or false?

Moving on to the present day, with powerful computers capable of running millions of different computations, would such a code be breakable with no 'point of reference'?

example:
http://users.telenet.be/d.rijmenants/en/enigmasim.htm

ERQS SXRZ ESPX KFPN MP

without the order of the wheels and other 'variables' the above bold text is jibberish, yes?
Back to top
View user's profile Send private message MSN Messenger
Letum



Joined: 04 Feb 2005
Posts: 735
Location: United Kingdom Of Great Briton

PostPosted: Wed May 18, 2005 11:00 am    Post subject: Reply with quote

I suspect that modern computor programs would have little problem decodeing enigma from no starting point given time. At the time refrance points such as tyhe capture of code books and enigma machines was essential.
I don't know why they didnt:
1) encrypt it with 'random settings (a)' on the machine at Bdu
2) transmit the encoded message to a u-boat
(now the u boat cant read it or decypher it)
3) the U-boat encrypts it again with 'random setting (b)'
4) transmit the dubble encoded message back to Bdu
(now the u boat and Bdu cant read it or decypher it)
5) decode the message useing 'settings (a)'
(now the message is only encoded in 'settings (b)'
6) send the message back to the u-boat
7) the U-boat now decodes it with 'settings (b)'
(the message is no longer in code)

With this system it would be almost impossible to decode the message with out a powerful computor and plenty of time
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Grayarea



Joined: 11 May 2005
Posts: 12

PostPosted: Wed May 18, 2005 11:05 am    Post subject: Reply with quote

This is a simplified explanation of Enigma.

To bring the issue down to base properties the security of enigma is based around its key. That is 3 wheels of 26 characters so the possible keys are 26x26x26=17576 possible key combinations. Other parts of the machine could make it more difficult but this is the base issue.

Each type on Enigma used (army, air force and navy etc) the same keys all day, so once you know a day setting you can read any of that days transmissions.

The way the allies usually broke the day setting was by using very short messages of know origin to try and guess the message content and use the 'bombs' to run each setting until they got the correct settings, this however was based on correctly guessing a section of the message. Not very easy as you may imagine.

If you want a good book on encryption in general with a good account of Enigma the "The Code Book" is an easy to understand read.

Later,

Grayarea.
Back to top
View user's profile Send private message
Daz



Joined: 09 May 2005
Posts: 34
Location: New South Wales , Australia

PostPosted: Wed May 18, 2005 11:06 am    Post subject: Reply with quote

I don't know if they could have read enigma signals without the knowledge they had of how it worked.I do know that despite being able to read the army and air force enigma messages they could not read the naval messages at all until they got their hands on one of the naval enigmas .
Back to top
View user's profile Send private message
wazoo



Joined: 27 Jan 2005
Posts: 247
Location: Tustin, California

PostPosted: Wed May 18, 2005 11:13 am    Post subject: Reply with quote

Grayarea wrote:


If you want a good book on encryption in general with a good account of Enigma the "The Code Book" is an easy to understand read.

Later,

Grayarea.


Finished that book last week. REALLY interesting.

Makes you realize even more once you understand the Enigma, how the world owes an eternal debt to Alan Turing....

Wazoo
Back to top
View user's profile Send private message
enigma-e



Joined: 04 Apr 2005
Posts: 158
Location: AO7764

PostPosted: Wed May 18, 2005 11:18 am    Post subject: Reply with quote

Quote:
I don't know why they didnt:
1) encrypt it with 'random settings (a)' on the machine at Bdu
2) transmit the encoded message to a u-boat
(now the u boat cant read it or decypher it)
3) the U-boat encrypts it again with 'random setting (b)'
4) transmit the dubble encoded message back to Bdu
(now the u boat and Bdu cant read it or decypher it)
5) decode the message useing 'settings (a)'
(now the message is only encoded in 'settings (b)'
6) send the message back to the u-boat
7) the U-boat now decodes it with 'settings (b)'
(the message is no longer in code)

Are you serious or is this a joke? FOUR transmissions of the same text??? Not only is this extremely time- consuming, but this would be an invitation for makng a crib to decode the message!

Any letter that is pressed on the Enigma never ever en- or decodes as the same letter. Press an "A", and it will never encode as an "A", etc. Thus, when sending the same text four times over, all the letters in the respective places can be excluded from occurring in the message. This would be a cryptographer's worst nightmare!
Back to top
View user's profile Send private message Visit poster's website
Spitf_ACE



Joined: 30 Apr 2005
Posts: 32
Location: Londinium

PostPosted: Wed May 18, 2005 11:20 am    Post subject: Reply with quote

Grayarea wrote:


If you want a good book on encryption in general with a good account of Enigma the "The Code Book" is an easy to understand read.



Yes, I recommend Simon Singh's other books, such as Fermat's last Theorem. He is able to to make maths interesting and understandable to all.
Back to top
View user's profile Send private message
enigma-e



Joined: 04 Apr 2005
Posts: 158
Location: AO7764

PostPosted: Wed May 18, 2005 11:21 am    Post subject: Reply with quote

Quote:
Each type on Enigma used (army, air force and navy etc) the same keys all day

This is not true. The rotor settings were changed every six hours.

Quote:
I do know that despite being able to read the army and air force enigma messages they could not read the naval messages at all until they got their hands on one of the naval enigmas
.
This is also not true. By the time they broke Triton (the four wheel Naval Enigma), the allied had not captured a four- wheel Enigma. What they had was the "Wetterkurzschlüssel" (Short Signal Weather Code), so they were able to reconstruct the additional wheels.


Last edited by enigma-e on Wed May 18, 2005 11:26 am; edited 1 time in total
Back to top
View user's profile Send private message Visit poster's website
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Wed May 18, 2005 11:26 am    Post subject: Reply with quote

To break Enigma messages you HAD to have the following:

1. An Enigma machine (so that you knew how it worked)

2. Lazy, and therefore predictable, German operators (so that you could take a guess as to the encryption settings)

3. Users with a military mind (so that they would send predictable messages of which you could guess the content = a 'crib')

One of the Bletchley Park favourites was a German Major stuck in the back of nowhere in the desert. Every four hours he would send an encoded message which said: 'I have nothing to report' - thus providing a perfect 'crib'.
Back to top
View user's profile Send private message
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Wed May 18, 2005 11:28 am    Post subject: Reply with quote

By the way, if you can, pay a visit to Bletchley Park. One of the best museums I have ever been to. Make sure that you pay the extra and have a guided tour, though.
Back to top
View user's profile Send private message
enigma-e



Joined: 04 Apr 2005
Posts: 158
Location: AO7764

PostPosted: Wed May 18, 2005 11:31 am    Post subject: Reply with quote

You don't have to have an Enigma to break the code. All you need to know is that Enigma is based on letter substitution algorithms.

Of course, if you capture an Enigma, it is easier to break the code, but the possession of an Enigma is not mandatory.

After all, even if you do have an Enigma 4- rotor machine, there are still quite a few setting possibilities:

129,651,786,900,000,000,000,000 to be exact.
Back to top
View user's profile Send private message Visit poster's website
msxyz



Joined: 31 Mar 2005
Posts: 485

PostPosted: Wed May 18, 2005 11:49 am    Post subject: Reply with quote

The original engima had 26x26x26 combinations, but each time a letter was pressed the rotors spun; without having an exact copy of the rotors used it would have been close to impossible to decipher the text relying only on brute force (with the technology of the time! There were only 2 computers during WW2 and both were so primitive that they couldn't be even compared to a modern pocket calculator).

The "german" engima added an additional layer of security introducing the "plugboard". The plugboard allowed to cross the input/output from various keys/bulbs. The total number of possible configurations increased to something like:

25*23*21*19*17*15*13*11*9*7*5*3

Thus the germans were pretty sure nobody would have braken (if not by pure chance!) their ciphered transmissions. But... the engima had a few weaknesses:

-A letter was never coded as itself.
-The short coded messages usually contained recursive code or abbreviations which didn't change between messages. Exploiting these abbreviations it's possible to reconstruct the key used.

These two factors combined allowed the allies to break the codes quite easily using electro-mechanical permutators which, given some hints, (ie a know letter in a certain position of the message) were able to calculate fairly fast the settings used on the enigma machine.

During the last months of war probably the german realized (too late!) that the engima machine was not infallible as they began to use superencryption by wiring two enigma machines together. If they had been smart enough (and if they paid attention to the warnings of certain individuals like Rommel who denounced the fact that the enemy always seemed to know their moves) probably the allies wouldn't have been so succesful.


Last edited by msxyz on Wed May 18, 2005 12:02 pm; edited 7 times in total
Back to top
View user's profile Send private message
enigma-e



Joined: 04 Apr 2005
Posts: 158
Location: AO7764

PostPosted: Wed May 18, 2005 11:52 am    Post subject: Reply with quote

Quote:
2. Lazy, and therefore predictable, German operators (so that you could take a guess as to the encryption settings)

3. Users with a military mind (so that they would send predictable messages of which you could guess the content = a 'crib')


All these things make breaking the code easier, but they are also not mandatory. Today, even without cribs or cillies, computer can break Enigma in no time, even if the wiring of the rotors is unknown, the encoder is not lazy and does not use specific phrases like "ANOKH etc." It is only a matter of time.

And since time was one luxury the allies couldn't afford, they had to resort to cillies and making cribs to get the solution quicker.
Back to top
View user's profile Send private message Visit poster's website
clive bradbury



Joined: 05 Jun 2004
Posts: 510
Location: stoke-on-trent, UK

PostPosted: Wed May 18, 2005 12:03 pm    Post subject: Reply with quote

The naval four-wheel enigma was effectively unbreakable by Bletchley until they captured one. They did not have the luxury of modern computers.
Back to top
View user's profile Send private message
enigma-e



Joined: 04 Apr 2005
Posts: 158
Location: AO7764

PostPosted: Wed May 18, 2005 12:11 pm    Post subject: Reply with quote

You have been misinformed. It couldn't be broken until Fasson and Grazier captured the Wetterkurzschlüssel from U-559.

After that and without having captured the four rotor Enigma, Bletchley was again in business.
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.     Forum Index -> Silent Hunter III All times are GMT - 5 Hours
Goto page 1, 2, 3, 4  Next
Page 1 of 4

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group