Divers find Nazis' Enigma code machine in Baltic Sea

Gamers can also use this forum to chat about any game related subject, news, rumours etc.

Moderator: maddog986

User avatar
Orm
Posts: 32140
Joined: Sat May 03, 2008 7:53 pm
Location: Sweden

RE: Divers find Nazis' Enigma code machine in Baltic Sea

Post by Orm »

ORIGINAL: Neilster

ORIGINAL: Fred98

There are 26 letters in the alphabet and 10 numbers. The odds of guessing the first character is 1/36.

If there is a 4th rotor the odds are still 1/36.
It's radically more complicated than that. From wiki...

"Combining three rotors from a set of five, each of the 3 rotor settings with 26 positions, and the plugboard with ten pairs of letters connected, the military Enigma has 158,962,555,217,826,360,000 different settings (nearly 159 quintillion or about 67 bits).

Note that (5x4x3) x (26^3) x [26! / (6! x 10! x 2^10)] = 158,962,555,217,826,360,000"
Indeed. I am going to assume that your math is correct. Not that it matters. The odds of guessing the first character is still 1/26.

Edit: Or with the letters plugbord added it is 1/36.
Have a bit more patience with newbies. Of course some of them act dumb -- they're often students, for heaven's sake. - Terry Pratchett

A government is a body of people; usually, notably, ungoverned. - Quote from Firefly
User avatar
ElvisJJonesRambo
Posts: 2513
Joined: Wed Feb 06, 2019 6:48 pm
Location: Kingdom of God

RE: Divers find Nazis' Enigma code machine in Baltic Sea

Post by ElvisJJonesRambo »

Maybe all them dials is just a fake. All the machines sent out to throw off Brits, and Adolf just used Navaho Indians like Yankees.
Slaps issued: 16 - Patton, Dana White, Batman, Samson. Medals/Salutes given: 6, warnings received: 11, suspensions served: 4, riots: 2.
User avatar
Neilster
Posts: 3003
Joined: Mon Oct 27, 2003 1:52 pm
Location: Devonport, Tasmania, Australia

RE: Divers find Nazis' Enigma code machine in Baltic Sea

Post by Neilster »

ORIGINAL: Orm
ORIGINAL: Neilster

ORIGINAL: Fred98

There are 26 letters in the alphabet and 10 numbers. The odds of guessing the first character is 1/36.

If there is a 4th rotor the odds are still 1/36.
It's radically more complicated than that. From wiki...

"Combining three rotors from a set of five, each of the 3 rotor settings with 26 positions, and the plugboard with ten pairs of letters connected, the military Enigma has 158,962,555,217,826,360,000 different settings (nearly 159 quintillion or about 67 bits).

Note that (5x4x3) x (26^3) x [26! / (6! x 10! x 2^10)] = 158,962,555,217,826,360,000"
Indeed. I am going to assume that your math is correct. Not that it matters. The odds of guessing the first character is still 1/26.

Edit: Or with the letters plugbord added it is 1/36.
I don't understand the point of the original post.

It's obvious that the probability of guessing a letter from one rotor is not good but not vanishingly small. I was illustrating that the combination of choosing three from five possible rotors and having the plugboard leads to an extremely difficult decoding problem. Adding a fourth rotor makes it much worse.
Cheers, Neilster
User avatar
Orm
Posts: 32140
Joined: Sat May 03, 2008 7:53 pm
Location: Sweden

RE: Divers find Nazis' Enigma code machine in Baltic Sea

Post by Orm »

It is indeed difficult of decoding any message sent by the machine. And I have no idea what point the "original" poster was making.

However, I find it fun that the odds of guessing the first letter is still comparatively low. Not that it matters because proving that you guessed right is a huge effort. Or you have to be told the right answer. [:D]
Have a bit more patience with newbies. Of course some of them act dumb -- they're often students, for heaven's sake. - Terry Pratchett

A government is a body of people; usually, notably, ungoverned. - Quote from Firefly
Zorch
Posts: 7087
Joined: Sun Mar 07, 2010 4:21 pm

RE: Divers find Nazis' Enigma code machine in Baltic Sea

Post by Zorch »

From https://en.wikipedia.org/wiki/Enigma_machine

Mathematical analysis

The Enigma transformation for each letter can be specified mathematically as a product of permutations.[18] Assuming a three-rotor German Army/Air Force Enigma, let P denote the plugboard transformation, U denote that of the reflector, and L, M, R denote those of the left, middle and right rotors respectively. Then the encryption E can be expressed as

Combining three rotors from a set of five, each of the 3 rotor settings with 26 positions, and the plugboard with ten pairs of letters connected, the military Enigma has 158,962,555,217,826,360,000 different settings (nearly 159 quintillion or about 67 bits).[19]

Note that (5x4x3) x (26^3) x [26! / (6! x 10! x 2^10)] = 158,962,555,217,826,360,000 ≈ 267.1
Post Reply

Return to “General Discussion”