WEBVTT - TechStuff Ponders an Enigma

0:00:00.280 --> 0:00:02.920
<v Speaker 1>Brought to you by the reinvented two thousand twelve Camray.

0:00:03.160 --> 0:00:08.920
<v Speaker 1>It's ready. Are you get in touch with technology? With

0:00:09.000 --> 0:00:17.520
<v Speaker 1>tech stuff from how stuff Works dot Com, Guten Talk,

0:00:17.680 --> 0:00:20.759
<v Speaker 1>when Hair's List vote coming by Tectoic. My noma is

0:00:20.840 --> 0:00:23.360
<v Speaker 1>Chris Polette when Ish been redact to her by how

0:00:23.400 --> 0:00:26.000
<v Speaker 1>Stuff Works dot Com, zits in Mary Gegan uber v

0:00:26.239 --> 0:00:31.040
<v Speaker 1>m R is senior text. Here in Jonathan Strickland at

0:00:31.120 --> 0:00:36.400
<v Speaker 1>vas Dance Zing is I'm lied fur dis vonn no

0:00:37.479 --> 0:00:42.720
<v Speaker 1>loft balogne. Yeah. The predominance of German today is probably

0:00:42.800 --> 0:00:47.040
<v Speaker 1>confusing some people. H The best part is see Jonathan

0:00:47.400 --> 0:00:51.279
<v Speaker 1>hear from Europe. Jonathan never tells me what quote he's

0:00:51.320 --> 0:00:53.640
<v Speaker 1>gonna do, and uh I didn't tell him. I was

0:00:53.680 --> 0:00:55.640
<v Speaker 1>going to do the introduction in German. This time I

0:00:55.680 --> 0:01:00.200
<v Speaker 1>actually switched my quote. Okay, so when you as I

0:01:00.200 --> 0:01:03.640
<v Speaker 1>heard you speaking Germans like, oh no change, Uh, he

0:01:03.760 --> 0:01:05.600
<v Speaker 1>changed the play on me. So anyway, today we're going

0:01:05.640 --> 0:01:09.319
<v Speaker 1>to talk about um. Something that actually came to mind

0:01:09.319 --> 0:01:14.280
<v Speaker 1>when during the process of recording our episode on quantum computers,

0:01:14.280 --> 0:01:16.920
<v Speaker 1>which were led to a discussion of quantum cryptography and

0:01:16.920 --> 0:01:20.759
<v Speaker 1>cryptography is something that actually fascinates probably just about all

0:01:20.800 --> 0:01:23.760
<v Speaker 1>of how stuff works dot Com considering UM, and it

0:01:23.840 --> 0:01:28.160
<v Speaker 1>also comes to play it touches on another podcast topic

0:01:28.240 --> 0:01:32.800
<v Speaker 1>that we tackled months and months ago, Mr. Touring. Oh yes,

0:01:32.880 --> 0:01:35.000
<v Speaker 1>Alan Touring is gonna come up, and it's very important

0:01:35.040 --> 0:01:38.000
<v Speaker 1>in this discussion as well. We're talking about the specifically

0:01:38.040 --> 0:01:42.240
<v Speaker 1>the Enigma machine, which was a cipher machine used by

0:01:42.319 --> 0:01:47.480
<v Speaker 1>Germany during World War Two. Yeah. The funny thing is, UM,

0:01:47.520 --> 0:01:51.559
<v Speaker 1>if you've watched any history or read any history about

0:01:51.880 --> 0:01:56.360
<v Speaker 1>World War two and UH specifically the war between Germany

0:01:56.440 --> 0:01:59.520
<v Speaker 1>and the Allies, UM, you have a sense of what

0:01:59.560 --> 0:02:03.040
<v Speaker 1>this machine meant to the German war effort. But the

0:02:03.040 --> 0:02:06.000
<v Speaker 1>thing is, what I don't think comes across in a

0:02:06.000 --> 0:02:10.440
<v Speaker 1>lot of those UM discussions is that there's no one

0:02:11.000 --> 0:02:14.840
<v Speaker 1>Enigma machine, and it certainly wasn't unknown to the world

0:02:14.840 --> 0:02:18.720
<v Speaker 1>before that because the the Enigma goes back years before

0:02:18.760 --> 0:02:20.360
<v Speaker 1>the start of World War Two. It was actually a

0:02:20.400 --> 0:02:25.080
<v Speaker 1>commercial machine used to encrypt messages. And in fact, because

0:02:25.120 --> 0:02:27.679
<v Speaker 1>it was a commercial machine, it gave some people a

0:02:27.800 --> 0:02:30.760
<v Speaker 1>leg up on on figuring out how to crack the

0:02:30.760 --> 0:02:35.280
<v Speaker 1>code because it was generally considered to be a practically

0:02:35.400 --> 0:02:39.560
<v Speaker 1>uncrackable code if you were to follow the most careful

0:02:40.400 --> 0:02:43.720
<v Speaker 1>security procedures possible. And we'll get into why that is.

0:02:43.840 --> 0:02:46.160
<v Speaker 1>But before I think, before we jump into what the

0:02:46.160 --> 0:02:48.880
<v Speaker 1>machine did and what how it did it, we need

0:02:48.919 --> 0:02:51.760
<v Speaker 1>to talk a little bit just about cipher's in general. Please.

0:02:52.080 --> 0:02:54.640
<v Speaker 1>All right, So a cipher really, and in this case

0:02:54.639 --> 0:02:58.400
<v Speaker 1>we're talking about creating a coded message, and uh, there

0:02:58.440 --> 0:03:00.600
<v Speaker 1>are different ways of doing this, lots different ways. You

0:03:00.600 --> 0:03:03.800
<v Speaker 1>can create a new alphabet, you can try and hide

0:03:03.840 --> 0:03:08.040
<v Speaker 1>things and images. That's called agraphy, right where What you

0:03:08.080 --> 0:03:10.880
<v Speaker 1>can also do it is hide messages within a file,

0:03:11.040 --> 0:03:14.280
<v Speaker 1>like like the code for a file. So I could

0:03:14.280 --> 0:03:19.200
<v Speaker 1>send a seemingly harmless file to Chris, but if you

0:03:19.240 --> 0:03:20.920
<v Speaker 1>were to actually look into the code of that file,

0:03:21.000 --> 0:03:24.400
<v Speaker 1>hidden there, not displayed in any form of executable function,

0:03:24.880 --> 0:03:27.480
<v Speaker 1>might be a message. So there are lots of different

0:03:27.520 --> 0:03:30.040
<v Speaker 1>ways of getting secret messages across, but a very common

0:03:30.040 --> 0:03:32.480
<v Speaker 1>one is using a cipher where you replace one letter

0:03:32.560 --> 0:03:36.280
<v Speaker 1>of the alphabet with another. All right, So the very

0:03:36.360 --> 0:03:40.440
<v Speaker 1>basic version of that is a mono alphabetic substitution cipher.

0:03:42.200 --> 0:03:45.040
<v Speaker 1>It means you're using just the one alphabet and that

0:03:45.240 --> 0:03:48.840
<v Speaker 1>one letter is always going to represent another letter always

0:03:49.040 --> 0:03:51.040
<v Speaker 1>in that cipher. Oh yeah, my friends and I used

0:03:51.040 --> 0:03:53.800
<v Speaker 1>to do this back in you know, grade school. Yeah,

0:03:53.920 --> 0:03:56.280
<v Speaker 1>you know we we would say, okay, so every letter,

0:03:56.600 --> 0:03:58.440
<v Speaker 1>you know, the letter A is represented by the letter

0:03:58.520 --> 0:04:00.520
<v Speaker 1>D and it just goes down the alpha that like that.

0:04:00.800 --> 0:04:03.840
<v Speaker 1>You've just shifted the alphabet to the to the right

0:04:03.920 --> 0:04:06.920
<v Speaker 1>a couple of places, sure, like that, and then you

0:04:07.000 --> 0:04:10.000
<v Speaker 1>just go from there. And so in order to to

0:04:10.240 --> 0:04:13.600
<v Speaker 1>decode this, if you're not just trying to crack it,

0:04:13.640 --> 0:04:15.400
<v Speaker 1>I mean, if you're actually decoding it, like you're the

0:04:15.440 --> 0:04:18.880
<v Speaker 1>person who is supposed to receive this message, you would

0:04:18.920 --> 0:04:23.279
<v Speaker 1>need to know which letter you know, how far over

0:04:23.279 --> 0:04:26.520
<v Speaker 1>did the alphabet shift? Right, So if if A is

0:04:26.560 --> 0:04:28.520
<v Speaker 1>B and B s C and C is D, then

0:04:28.560 --> 0:04:30.800
<v Speaker 1>you know, all right, well it's a. It shifted one place,

0:04:30.880 --> 0:04:33.600
<v Speaker 1>and so I know to shift all these letters back

0:04:33.640 --> 0:04:36.839
<v Speaker 1>a spot so that I can decode this. All right.

0:04:36.880 --> 0:04:40.120
<v Speaker 1>That's your very basic mono alphabetic substitution. Now those are

0:04:40.240 --> 0:04:43.520
<v Speaker 1>easy to crack. It's easy for anyone to crack, yes,

0:04:43.680 --> 0:04:46.599
<v Speaker 1>all right, as long as you know some basic uh

0:04:46.960 --> 0:04:50.880
<v Speaker 1>rules and and tendencies in your native language, you can

0:04:50.920 --> 0:04:53.600
<v Speaker 1>crack these. For example, you can start looking for two

0:04:53.720 --> 0:04:57.160
<v Speaker 1>letters that are like letters that are are doubled up.

0:04:58.240 --> 0:05:00.000
<v Speaker 1>You start looking at those, and then you think, okay,

0:05:00.040 --> 0:05:04.320
<v Speaker 1>which letters in the English language are the most frequently

0:05:04.560 --> 0:05:08.240
<v Speaker 1>paired together? Like two ta s would be an example. H.

0:05:08.680 --> 0:05:11.039
<v Speaker 1>Two teas happen a lot, so that that letter there

0:05:11.080 --> 0:05:13.599
<v Speaker 1>could represent a T. Let me see if that starts

0:05:13.640 --> 0:05:16.000
<v Speaker 1>to fit other things. And you look for patterns, and

0:05:16.040 --> 0:05:18.479
<v Speaker 1>you find these patterns and you can decode things. You

0:05:18.480 --> 0:05:20.800
<v Speaker 1>can make this a little more difficult, actually a lot

0:05:20.839 --> 0:05:23.280
<v Speaker 1>more difficult, depending on how sophisticated you get using a

0:05:23.360 --> 0:05:29.120
<v Speaker 1>polyalphabetic substitution. All right, so there's this one kind of

0:05:29.120 --> 0:05:32.200
<v Speaker 1>cipher called a Vignier cipher. Uh, this is a little

0:05:32.240 --> 0:05:35.080
<v Speaker 1>more complex. Now. In a Vineer cipher, you've got a grid.

0:05:35.160 --> 0:05:39.080
<v Speaker 1>It's twenty six boxes across in twenty six boxes tall.

0:05:39.680 --> 0:05:42.240
<v Speaker 1>All right. On that top level of the grid, you

0:05:42.279 --> 0:05:45.200
<v Speaker 1>have the alphabet spelled out normally A, B, C, D

0:05:45.240 --> 0:05:47.599
<v Speaker 1>all the way to Z. And then on the next

0:05:47.640 --> 0:05:50.599
<v Speaker 1>one you shift that letter over once, so now it's

0:05:50.680 --> 0:05:53.880
<v Speaker 1>B through A. So the last the last one is

0:05:53.880 --> 0:05:55.960
<v Speaker 1>gonna be A. And then you go the next lay

0:05:56.040 --> 0:05:58.040
<v Speaker 1>up level down you shift it over against Now it's

0:05:58.080 --> 0:06:01.120
<v Speaker 1>C through B and do this all the way down

0:06:01.200 --> 0:06:05.240
<v Speaker 1>until you get to Z to A at the very bottom,

0:06:05.279 --> 0:06:10.120
<v Speaker 1>all right, or not zo a zero zero y Um.

0:06:10.120 --> 0:06:13.320
<v Speaker 1>I'm sitting here. I'm I'm mixing myself up now the

0:06:13.320 --> 0:06:15.359
<v Speaker 1>way Vin your cipher's worked as you would have a

0:06:15.480 --> 0:06:19.920
<v Speaker 1>key phrase or keyword, Okay, So it's something that you

0:06:20.080 --> 0:06:22.520
<v Speaker 1>and the person you're writing to have both agreed upon

0:06:23.120 --> 0:06:27.159
<v Speaker 1>in advance. So let's say that for for Chris and I,

0:06:27.440 --> 0:06:29.880
<v Speaker 1>we sit there and we decide text stuff is our

0:06:29.960 --> 0:06:34.159
<v Speaker 1>key phrase. You would look at your grid and you

0:06:34.160 --> 0:06:37.160
<v Speaker 1>would go down that first column. You go all the

0:06:37.200 --> 0:06:40.240
<v Speaker 1>way down to the T column, the column that starts

0:06:40.360 --> 0:06:43.800
<v Speaker 1>the alphabet begins with the letter T. And then let's

0:06:43.839 --> 0:06:46.680
<v Speaker 1>say that my first word is to Chris is going

0:06:46.760 --> 0:06:52.640
<v Speaker 1>to be how d I then look across the top

0:06:52.880 --> 0:06:56.120
<v Speaker 1>of that grid for the H on the very top row.

0:06:56.480 --> 0:06:58.720
<v Speaker 1>All right, So I've got my finger on the t

0:07:00.000 --> 0:07:03.440
<v Speaker 1>oh based on the first column, and I'm looking at

0:07:03.480 --> 0:07:07.800
<v Speaker 1>the H column in the top row, and I find

0:07:07.839 --> 0:07:11.720
<v Speaker 1>the intersection of those two so where the T row

0:07:11.880 --> 0:07:17.280
<v Speaker 1>and the H column meet, and then that letter represents H.

0:07:17.440 --> 0:07:20.600
<v Speaker 1>And then for oh, I go because my key phrases

0:07:20.640 --> 0:07:22.880
<v Speaker 1>tech stuff. I go to the E column or E

0:07:23.800 --> 0:07:25.760
<v Speaker 1>row on the first column. So I look at that

0:07:25.800 --> 0:07:28.800
<v Speaker 1>first column, which is again in alphabetical order, so it's

0:07:28.800 --> 0:07:30.520
<v Speaker 1>A B, C, D E. So I go to the

0:07:30.520 --> 0:07:33.000
<v Speaker 1>E row and then I look for the O in

0:07:33.040 --> 0:07:37.600
<v Speaker 1>the top row, and I find the intersection of those, uh,

0:07:37.720 --> 0:07:40.080
<v Speaker 1>the column of O and the row of E. But

0:07:40.280 --> 0:07:44.520
<v Speaker 1>that and that becomes my Oh so Chris, because he

0:07:44.560 --> 0:07:47.720
<v Speaker 1>knows that the key phrases tech stuff, he knows which

0:07:47.800 --> 0:07:50.000
<v Speaker 1>road to look at, and then he looks at the

0:07:50.120 --> 0:07:54.160
<v Speaker 1>encoded letter. He finds that in the in within that row,

0:07:54.640 --> 0:07:56.640
<v Speaker 1>looks up to see what column it is, and that's

0:07:56.640 --> 0:08:01.280
<v Speaker 1>the letter it it decodes into. Now this might sound

0:08:01.280 --> 0:08:05.160
<v Speaker 1>really complex. That's kind of the point. Well, you don't

0:08:05.160 --> 0:08:08.040
<v Speaker 1>want the enemy to decipher your code, because then it

0:08:08.080 --> 0:08:11.360
<v Speaker 1>will learn what you're up to and the element of

0:08:11.360 --> 0:08:18.000
<v Speaker 1>surprise is lost. So this um this method becomes less

0:08:18.160 --> 0:08:21.760
<v Speaker 1>useful if you are starting to encode longer and longer messages,

0:08:21.800 --> 0:08:26.520
<v Speaker 1>because that increases the chance that the enemy or someone

0:08:26.560 --> 0:08:29.000
<v Speaker 1>who is not meant to read the code can figure

0:08:29.000 --> 0:08:31.880
<v Speaker 1>out your key phrase or keyword. And if they figure

0:08:31.880 --> 0:08:35.400
<v Speaker 1>out that keyword, then they've unlocked everything. That's all they need.

0:08:35.440 --> 0:08:39.200
<v Speaker 1>They just need to create a Vinyer cipher graph or

0:08:39.280 --> 0:08:42.520
<v Speaker 1>chart and then use that key phrase to decode what

0:08:42.600 --> 0:08:46.720
<v Speaker 1>you've said. Now, the Enigma machine takes and a similar

0:08:46.720 --> 0:08:50.959
<v Speaker 1>approach to the Vignier cipher and complicates it on a

0:08:51.000 --> 0:08:56.440
<v Speaker 1>massive scale and also automates it. Yeah, because, um, you

0:08:56.440 --> 0:08:59.520
<v Speaker 1>know with any of these codes that the key uh

0:08:59.800 --> 0:09:05.679
<v Speaker 1>is probably the most important part. Um. If you intercept

0:09:05.840 --> 0:09:10.880
<v Speaker 1>a coded transmission and you have no idea how it

0:09:10.920 --> 0:09:14.360
<v Speaker 1>has been enciphered, it's going to take you much longer

0:09:14.400 --> 0:09:18.840
<v Speaker 1>to try to break that code. Um. Whereas if somebody

0:09:19.000 --> 0:09:20.760
<v Speaker 1>on the other end has the key to it, they'll

0:09:20.800 --> 0:09:23.719
<v Speaker 1>be able to decipher it in no time or a

0:09:23.800 --> 0:09:27.600
<v Speaker 1>little bit more than no time. UM. So that's that's

0:09:27.600 --> 0:09:29.400
<v Speaker 1>one of the tricky parts, is I mean you can

0:09:29.920 --> 0:09:33.080
<v Speaker 1>uh you know, during War two they were there were

0:09:33.120 --> 0:09:35.960
<v Speaker 1>all kinds of different ways to send messages, including things

0:09:36.040 --> 0:09:39.120
<v Speaker 1>like one time pads, which is a a pad used

0:09:39.360 --> 0:09:42.640
<v Speaker 1>of paper used with a particular code this is the

0:09:42.679 --> 0:09:46.320
<v Speaker 1>one for this message. And uh. This would be used

0:09:46.320 --> 0:09:48.880
<v Speaker 1>out in the field by agents who couldn't carry something

0:09:48.920 --> 0:09:53.320
<v Speaker 1>like a rotor machine like the Enigma with them. Uh.

0:09:53.360 --> 0:09:55.520
<v Speaker 1>You know. And the thing is if the if you lose,

0:09:55.679 --> 0:09:58.040
<v Speaker 1>if the person on the other end loses the key

0:09:58.120 --> 0:10:01.680
<v Speaker 1>for that particular pad uh, um, it's just gonna take forever.

0:10:01.760 --> 0:10:04.880
<v Speaker 1>But the Enigma was a way to automate this UM

0:10:04.920 --> 0:10:08.560
<v Speaker 1>this process, and this machine, which was first patented nineteen nineteen,

0:10:08.679 --> 0:10:11.680
<v Speaker 1>ended up being pivotal UH in World War Two, both

0:10:11.760 --> 0:10:16.040
<v Speaker 1>for the Germans and well actually the the Axis because

0:10:16.040 --> 0:10:20.439
<v Speaker 1>they did have a Japanese version that they used UM,

0:10:20.480 --> 0:10:22.720
<v Speaker 1>but also for the Allies when they were able to

0:10:22.760 --> 0:10:26.240
<v Speaker 1>figure out how the machine worked, and because it does

0:10:26.280 --> 0:10:29.520
<v Speaker 1>have its own flaws. UM. So let's let's talk about

0:10:29.600 --> 0:10:32.079
<v Speaker 1>what was in an Enigma machine and what it looked

0:10:32.120 --> 0:10:36.719
<v Speaker 1>like and and how it encoded letters UM. Each of

0:10:36.760 --> 0:10:40.000
<v Speaker 1>the machines, going back to the very first one, the

0:10:40.120 --> 0:10:44.920
<v Speaker 1>Enigma A had rotor wheels UM and a keyboard. It

0:10:44.960 --> 0:10:47.280
<v Speaker 1>looks a little uh if you've never seen one of

0:10:47.280 --> 0:10:49.840
<v Speaker 1>these machines, and they all look a little different there,

0:10:49.880 --> 0:10:52.440
<v Speaker 1>Like I said, uh, several different types of machines that

0:10:52.559 --> 0:10:55.120
<v Speaker 1>evolved over time, but all of them had a keyboard

0:10:55.120 --> 0:10:58.520
<v Speaker 1>on it UM arranged in more of a well, at

0:10:58.520 --> 0:11:00.600
<v Speaker 1>first it was an alphabetic fashion and then turn into

0:11:00.600 --> 0:11:05.480
<v Speaker 1>more the German keyboard style, but so kind of like

0:11:05.520 --> 0:11:07.959
<v Speaker 1>a typewriter. Yeah. And the very first one looked a

0:11:07.960 --> 0:11:10.240
<v Speaker 1>little bit like one of the old timey cash registers.

0:11:10.240 --> 0:11:13.480
<v Speaker 1>It was so big, um but yeah, I mean these

0:11:13.520 --> 0:11:16.640
<v Speaker 1>had rotor wheels though, and so you would type a letter,

0:11:16.760 --> 0:11:19.240
<v Speaker 1>let's say A, and depending on the way the rotor

0:11:19.240 --> 0:11:23.280
<v Speaker 1>wheels were set, it would produce a completely different letter. Yeah.

0:11:23.280 --> 0:11:24.960
<v Speaker 1>And the way it would produce it as it had

0:11:25.120 --> 0:11:29.040
<v Speaker 1>lamps twenty six lamps, each one uh marked with a letter,

0:11:29.240 --> 0:11:32.439
<v Speaker 1>and the lamp that lit up would be the encoded

0:11:33.400 --> 0:11:36.679
<v Speaker 1>letter for that particular key press. Yeah. They use were

0:11:36.679 --> 0:11:38.720
<v Speaker 1>the ones used in World War Two. The earlier ones

0:11:38.800 --> 0:11:41.440
<v Speaker 1>did not have lamps. Um. But yeah, I mean the

0:11:41.440 --> 0:11:44.280
<v Speaker 1>ones that we're talking about specifically around World War Two.

0:11:44.320 --> 0:11:47.280
<v Speaker 1>That made it easier for the operator to identify which

0:11:47.320 --> 0:11:49.840
<v Speaker 1>letter was being used because these most of these machines

0:11:49.880 --> 0:11:52.640
<v Speaker 1>had no printer. Yeah. Usually you would have two people

0:11:52.760 --> 0:11:56.000
<v Speaker 1>working on both sides of this, both the encoding and

0:11:56.080 --> 0:11:58.200
<v Speaker 1>decoding side. You would have one person who would be

0:11:58.200 --> 0:12:00.400
<v Speaker 1>pressing the keys and another person who would either be

0:12:00.840 --> 0:12:05.960
<v Speaker 1>writing down the letter um, the encoded letter or writing

0:12:06.000 --> 0:12:08.480
<v Speaker 1>down the decoded letter. Because an important part of the

0:12:08.640 --> 0:12:11.560
<v Speaker 1>Enigma machine, and actually one of the reasons why it

0:12:11.640 --> 0:12:16.120
<v Speaker 1>was eventually broken was that it was a device that

0:12:16.240 --> 0:12:18.840
<v Speaker 1>if if you if you type the let's let's just

0:12:18.920 --> 0:12:21.760
<v Speaker 1>say for for argument's sake, that if I type the

0:12:21.840 --> 0:12:25.520
<v Speaker 1>letter A, the letter Q comes up on the lamp. Well,

0:12:25.559 --> 0:12:28.320
<v Speaker 1>if I were to take a second Enigma machine that

0:12:28.440 --> 0:12:31.800
<v Speaker 1>was that was configured the same way as the first one,

0:12:31.800 --> 0:12:33.880
<v Speaker 1>and that's really important. We'll talk more about why that

0:12:34.000 --> 0:12:36.000
<v Speaker 1>is in a minute, and I typed the letter Q,

0:12:36.360 --> 0:12:39.760
<v Speaker 1>the letter A would light up, and then all I

0:12:39.760 --> 0:12:42.040
<v Speaker 1>would have to do, essentially is take my coded message

0:12:42.040 --> 0:12:44.800
<v Speaker 1>that was sent to me, type it out on my

0:12:44.960 --> 0:12:48.640
<v Speaker 1>Enigma machine that is configured the same way that the

0:12:48.920 --> 0:12:52.640
<v Speaker 1>encoded message machines was configured, and then have someone else

0:12:52.679 --> 0:12:54.840
<v Speaker 1>write down which lamps let up, and I have the

0:12:54.960 --> 0:12:58.679
<v Speaker 1>decoded message, except that the people in England were saying, no,

0:12:58.760 --> 0:13:00.800
<v Speaker 1>this is gibberish. It's use and someone says, no, you

0:13:00.840 --> 0:13:05.440
<v Speaker 1>idiots in German. Anyway, the I thought I would make

0:13:05.440 --> 0:13:07.080
<v Speaker 1>you laughing. I thought about that last night and I

0:13:07.160 --> 0:13:11.960
<v Speaker 1>was just waiting to unleash it. Um. So the cool

0:13:12.000 --> 0:13:13.839
<v Speaker 1>thing here is that, all right, So imagine that each

0:13:13.880 --> 0:13:17.200
<v Speaker 1>of these roters. Think of it like a cylinder. Okay,

0:13:17.360 --> 0:13:22.480
<v Speaker 1>So imagine a cylinder and on the the on the

0:13:22.640 --> 0:13:26.080
<v Speaker 1>ends of the cylinder are rods and contact points. So

0:13:26.120 --> 0:13:29.200
<v Speaker 1>there's rods on one side and contact points on the other. Okay,

0:13:29.240 --> 0:13:32.400
<v Speaker 1>this is where an electrical current can flow through. Now

0:13:32.840 --> 0:13:36.160
<v Speaker 1>there are twenty six rods and twenty six contact points,

0:13:36.440 --> 0:13:39.880
<v Speaker 1>so there's one for each of the letters the alphabet. Now,

0:13:40.120 --> 0:13:44.560
<v Speaker 1>if you were silly, you would just wire these straight across,

0:13:44.880 --> 0:13:49.319
<v Speaker 1>so a would all position one would would also would

0:13:49.360 --> 0:13:52.280
<v Speaker 1>be a straight wire from the rod to the contact

0:13:52.559 --> 0:13:56.120
<v Speaker 1>and position one. Now, of course that's not the way

0:13:56.120 --> 0:13:58.720
<v Speaker 1>the Enigma machine works. What happened was they wired it

0:13:58.800 --> 0:14:01.959
<v Speaker 1>so that position one would go to a different contact

0:14:02.000 --> 0:14:05.319
<v Speaker 1>on the other side. So position one might go ton

0:14:05.640 --> 0:14:09.280
<v Speaker 1>like Rod one might go to contact twelve. Rod two

0:14:09.360 --> 0:14:12.400
<v Speaker 1>might go to contact twenty three. Rod three might go

0:14:12.480 --> 0:14:15.400
<v Speaker 1>to contact one. That kind of thing. And you had

0:14:15.400 --> 0:14:19.080
<v Speaker 1>this massive wires inside the rotor that determine which ones

0:14:19.120 --> 0:14:22.240
<v Speaker 1>went to what, And then the rotor would fit inside

0:14:22.240 --> 0:14:26.320
<v Speaker 1>the Enigma machine, which would uh electricity from a battery

0:14:26.360 --> 0:14:29.320
<v Speaker 1>would come through, and depending on what key you pressed,

0:14:29.600 --> 0:14:31.840
<v Speaker 1>that would allow the pathway to go through to a

0:14:31.880 --> 0:14:35.320
<v Speaker 1>certain rod. The the electricity would go through the wire

0:14:35.400 --> 0:14:37.920
<v Speaker 1>in the rotor come out the side of the contact

0:14:38.240 --> 0:14:41.200
<v Speaker 1>that again is not directly across from the position of

0:14:41.240 --> 0:14:44.760
<v Speaker 1>the rod. And that's the basic idea of how it

0:14:44.760 --> 0:14:48.680
<v Speaker 1>would substitute a letter. Now if it if the rotor

0:14:48.760 --> 0:14:51.160
<v Speaker 1>did not turn, or if there were not more rotors,

0:14:51.560 --> 0:14:55.280
<v Speaker 1>you would just have a mono alphabetic substitution, like every

0:14:55.320 --> 0:14:57.760
<v Speaker 1>time you type A, the letter Q would light up

0:14:58.000 --> 0:15:00.760
<v Speaker 1>if nothing else changed, if that all it did, in

0:15:00.800 --> 0:15:02.800
<v Speaker 1>which case it would have been a useless machine because

0:15:02.800 --> 0:15:04.680
<v Speaker 1>people would have been able to break that without ever

0:15:04.760 --> 0:15:07.200
<v Speaker 1>having to spend more than a couple of hours on

0:15:07.240 --> 0:15:10.240
<v Speaker 1>a on a on a message. Now, a lot of

0:15:10.240 --> 0:15:15.200
<v Speaker 1>the machines, UM, we're using three rotors. UM. Now here's

0:15:15.240 --> 0:15:19.240
<v Speaker 1>here's where this makes it more complex. Uh. These machines

0:15:19.320 --> 0:15:23.520
<v Speaker 1>came with five rotors uh named numbered with Roman numerals

0:15:24.080 --> 0:15:28.680
<v Speaker 1>UM and every here here again here's part of the key. UM.

0:15:28.800 --> 0:15:32.960
<v Speaker 1>The German command would send out the monthly use of wheels.

0:15:32.960 --> 0:15:36.280
<v Speaker 1>So you might put the wheels in for one two,

0:15:37.200 --> 0:15:39.960
<v Speaker 1>so four would be in the leftmost position, one would

0:15:40.000 --> 0:15:41.320
<v Speaker 1>be in the middle, two would be in the right

0:15:41.320 --> 0:15:45.640
<v Speaker 1>most position, and every time the operator presses a letter,

0:15:45.720 --> 0:15:49.840
<v Speaker 1>let's say J the third. Actually, think of this if

0:15:49.880 --> 0:15:53.320
<v Speaker 1>you've ever seen a car odometer that measures the distance.

0:15:53.920 --> 0:15:57.240
<v Speaker 1>The rotor on the right moves one notch every time

0:15:57.280 --> 0:16:00.840
<v Speaker 1>the operator presses a button. So the operator press is J,

0:16:01.800 --> 0:16:04.440
<v Speaker 1>the rotor on the right turns one notch. The operator

0:16:04.480 --> 0:16:07.160
<v Speaker 1>presses N, the rotor turns one notch, and then the

0:16:07.200 --> 0:16:12.920
<v Speaker 1>middle um. Every so often, the middle rotor moves one notch,

0:16:13.760 --> 0:16:18.720
<v Speaker 1>and then again with the leftmost it moves more slowly,

0:16:19.160 --> 0:16:23.280
<v Speaker 1>so as the operators typing the message out, the rotors

0:16:23.320 --> 0:16:28.040
<v Speaker 1>are turning to incipher the message more thoroughly. The idea

0:16:28.120 --> 0:16:31.960
<v Speaker 1>being that you're not repeating the same alphabet to frequently.

0:16:32.000 --> 0:16:34.120
<v Speaker 1>In fact, you it would take you, it would take

0:16:34.120 --> 0:16:36.800
<v Speaker 1>you an incredibly long message to be able to repeat

0:16:36.840 --> 0:16:39.400
<v Speaker 1>pete such an alphabet ah. And that's one of the tricks.

0:16:39.640 --> 0:16:42.520
<v Speaker 1>Eventually it could happen, which is why the Germans limited

0:16:42.560 --> 0:16:47.000
<v Speaker 1>their message length to two fifty characters. So to to

0:16:47.440 --> 0:16:50.680
<v Speaker 1>explain this even further, if I press let's say that

0:16:50.720 --> 0:16:53.560
<v Speaker 1>I just have the one rotor in there, just for

0:16:53.640 --> 0:16:56.160
<v Speaker 1>simplicity sakes, So I've got one rotor in there, and

0:16:56.200 --> 0:16:58.760
<v Speaker 1>if I press the letter A, the letter Q lights

0:16:58.880 --> 0:17:01.640
<v Speaker 1>up because that's just the way the wiring is in

0:17:01.720 --> 0:17:05.399
<v Speaker 1>that rotor. After I pressed the letter A, the rotor

0:17:05.560 --> 0:17:09.480
<v Speaker 1>turns one notch. I pressed the letter A. Well, Q

0:17:09.680 --> 0:17:12.000
<v Speaker 1>is not gonna light up because what's just happened is

0:17:12.040 --> 0:17:15.600
<v Speaker 1>that there's a new rod where the electricity makes contact

0:17:15.640 --> 0:17:18.880
<v Speaker 1>with that rod. It's in position A. The first rod

0:17:18.960 --> 0:17:21.720
<v Speaker 1>was in position one. Now that the rotor has turned

0:17:21.760 --> 0:17:24.560
<v Speaker 1>one notch the rotor, the rod that's in position for

0:17:24.600 --> 0:17:27.879
<v Speaker 1>the letter A is rod too. So instead of Q

0:17:28.200 --> 0:17:31.040
<v Speaker 1>lighting up, maybe J lights up. So you could just

0:17:31.119 --> 0:17:34.159
<v Speaker 1>keep pressing A and a different letter is going to

0:17:34.320 --> 0:17:37.000
<v Speaker 1>light up every time, except for one other exception we

0:17:37.000 --> 0:17:39.240
<v Speaker 1>should point out, which was again something that helped the

0:17:39.320 --> 0:17:45.080
<v Speaker 1>Allies break the Enigma code. They the Germans had decided foolishly,

0:17:45.119 --> 0:17:49.240
<v Speaker 1>as it turns out, that no letter would ever incipher

0:17:49.320 --> 0:17:53.359
<v Speaker 1>to itself. So B can never b B. Yes, so

0:17:53.400 --> 0:17:55.199
<v Speaker 1>if you saw the letter B in a message, you

0:17:55.200 --> 0:17:58.439
<v Speaker 1>automatically knew it wasn't B. So you've just you've just

0:17:58.600 --> 0:18:00.880
<v Speaker 1>and that sounds like it's menace fuel that you've only

0:18:00.920 --> 0:18:05.520
<v Speaker 1>eliminated one option, But that was huge. I mean, without that,

0:18:05.640 --> 0:18:08.600
<v Speaker 1>it would have been so much harder to to decode

0:18:08.640 --> 0:18:11.879
<v Speaker 1>these messages. Now when you add that second rotor in

0:18:12.720 --> 0:18:15.520
<v Speaker 1>uh so, let's say that again, we're gonna go with

0:18:15.560 --> 0:18:18.280
<v Speaker 1>the positions. So the so we have the rods in

0:18:18.320 --> 0:18:20.320
<v Speaker 1>the twenty six positions and the contacts on the other

0:18:20.359 --> 0:18:24.320
<v Speaker 1>side of the cylinder in twenty six positions. Electricity comes

0:18:24.320 --> 0:18:28.680
<v Speaker 1>in through rod one and it's going out through contact twelve.

0:18:29.640 --> 0:18:31.920
<v Speaker 1>Then you have your second rotors. So the second rotor,

0:18:32.040 --> 0:18:37.480
<v Speaker 1>Rod twelve is accepting the electricity, but it's contact that

0:18:37.560 --> 0:18:43.160
<v Speaker 1>the second rotors, Rod twelve is connected to contact UH seven.

0:18:43.640 --> 0:18:47.000
<v Speaker 1>So you've got now something that's going in through contact

0:18:47.359 --> 0:18:50.200
<v Speaker 1>rod one and coming out contact seven. Once it gets

0:18:50.200 --> 0:18:52.679
<v Speaker 1>through the second rotor, you had a third rotor in.

0:18:53.000 --> 0:18:55.000
<v Speaker 1>That makes it even more complicated. So it's like you've

0:18:55.040 --> 0:18:58.680
<v Speaker 1>just added a huge mass of wires to this device

0:18:59.359 --> 0:19:03.239
<v Speaker 1>and it gives it's even more complex. I'm sorry, did

0:19:03.240 --> 0:19:07.560
<v Speaker 1>you say huge massive wires like the scheker Brett. Yes,

0:19:08.080 --> 0:19:12.000
<v Speaker 1>So here's where the massive wires also comes in. There

0:19:12.119 --> 0:19:15.560
<v Speaker 1>was a plugboard that came with many of these Enigma machines,

0:19:15.600 --> 0:19:18.359
<v Speaker 1>not all, but many. Yeah, do you remember if you

0:19:18.480 --> 0:19:21.800
<v Speaker 1>think back to images you've seen of old telephone operators

0:19:21.840 --> 0:19:24.280
<v Speaker 1>when they had to connect a call, they would physically

0:19:24.280 --> 0:19:27.560
<v Speaker 1>take a wire and connect one person and plug it

0:19:27.560 --> 0:19:31.200
<v Speaker 1>into the slot for the other person to make the connection. Well,

0:19:32.040 --> 0:19:36.119
<v Speaker 1>on the Enigma machine, uh they had wires and plugs

0:19:36.160 --> 0:19:40.560
<v Speaker 1>that went from that basically connected the letters. Yeah. So

0:19:40.600 --> 0:19:42.760
<v Speaker 1>in other words, you might connect the letter A and

0:19:42.800 --> 0:19:45.480
<v Speaker 1>the letter J together with A with a wire, which

0:19:45.520 --> 0:19:48.760
<v Speaker 1>means every time you press the letter A, it's acting

0:19:48.800 --> 0:19:52.120
<v Speaker 1>as if you press the letter J. So that add

0:19:52.240 --> 0:19:56.600
<v Speaker 1>added yet another layer of encryption on top of this device.

0:19:57.280 --> 0:20:00.600
<v Speaker 1>Uh So, No, you're no longer send a message to

0:20:00.800 --> 0:20:04.199
<v Speaker 1>contact one, because that would be the one for A.

0:20:04.640 --> 0:20:07.120
<v Speaker 1>You're sending it to different or not contact but Rod,

0:20:07.320 --> 0:20:12.720
<v Speaker 1>you're seeing it to a different rod. Uh so maybe so.

0:20:12.840 --> 0:20:17.000
<v Speaker 1>By setting the alphabet position on each rotor, setting the

0:20:17.119 --> 0:20:20.080
<v Speaker 1>rotors in the particular order, choosing you know which rotor

0:20:20.119 --> 0:20:22.360
<v Speaker 1>you want. Because these rotors, by the way, we're not

0:20:22.800 --> 0:20:25.439
<v Speaker 1>um alf they if you were to look at a

0:20:25.520 --> 0:20:28.000
<v Speaker 1>rotor and turn it and it had the letters on it,

0:20:28.000 --> 0:20:30.960
<v Speaker 1>it would not be an alphabetical order. They mixed up

0:20:31.040 --> 0:20:33.240
<v Speaker 1>the order of the letters to They wanted to make

0:20:33.240 --> 0:20:36.399
<v Speaker 1>it as complex as possible. So depending upon the the

0:20:36.520 --> 0:20:38.840
<v Speaker 1>rotors you choose, the order you put them in, and

0:20:38.880 --> 0:20:41.879
<v Speaker 1>the plugs that you plug into the plug board, that

0:20:41.880 --> 0:20:45.200
<v Speaker 1>would determine what would happen if you pressed any particular

0:20:45.320 --> 0:20:49.199
<v Speaker 1>key at any particular time. Plus, it's in German and

0:20:49.280 --> 0:20:53.639
<v Speaker 1>you're probably transmitting it in morse code, so that's the

0:20:53.760 --> 0:20:56.000
<v Speaker 1>level that you have to get through in order to

0:20:56.040 --> 0:21:00.000
<v Speaker 1>get to that original message. In addition, UM, the German

0:21:00.040 --> 0:21:04.080
<v Speaker 1>Men's tended to break up messages into regular patterns of

0:21:04.480 --> 0:21:07.720
<v Speaker 1>UM five characters at a time, so you know, a

0:21:07.960 --> 0:21:12.000
<v Speaker 1>F B Q G space, you know, so the message

0:21:12.040 --> 0:21:14.679
<v Speaker 1>wasn't written out, and so you wouldn't say, okay, well

0:21:14.720 --> 0:21:18.720
<v Speaker 1>this this word has three letters and they're only you know, yeah,

0:21:18.720 --> 0:21:21.840
<v Speaker 1>there's only so many word that would have three letters,

0:21:21.840 --> 0:21:24.280
<v Speaker 1>and they broke it up so that once you know,

0:21:24.359 --> 0:21:26.320
<v Speaker 1>there was really no way to tell how long the

0:21:26.359 --> 0:21:29.800
<v Speaker 1>word was. So a single word, and remember this is German,

0:21:30.000 --> 0:21:34.040
<v Speaker 1>so these words could be you know, seventy three characters long.

0:21:34.359 --> 0:21:38.480
<v Speaker 1>So a single word might might spend multiple five letters segments,

0:21:39.200 --> 0:21:42.000
<v Speaker 1>so you know, it might begin on letter four of

0:21:42.080 --> 0:21:46.320
<v Speaker 1>this five letter group and then finished three groups later

0:21:46.400 --> 0:21:48.879
<v Speaker 1>down the line, and that might have just been the

0:21:48.960 --> 0:21:54.399
<v Speaker 1>word for I don't know like car um. So uh yeah,

0:21:54.600 --> 0:21:57.480
<v Speaker 1>it just made it made it more difficult, obvious, skated

0:21:57.520 --> 0:21:59.960
<v Speaker 1>the meaning of the original phrase as much as possible.

0:22:00.880 --> 0:22:04.760
<v Speaker 1>So how would you ever decode such a message? Now?

0:22:04.800 --> 0:22:08.480
<v Speaker 1>If you've got it really set up so that everyone

0:22:08.680 --> 0:22:12.440
<v Speaker 1>knows how the how to set up their own particular

0:22:12.560 --> 0:22:15.480
<v Speaker 1>Enigma machine based upon a codebook, you would have to

0:22:15.520 --> 0:22:19.640
<v Speaker 1>have like a codebook that was um given out by leadership. Right,

0:22:19.680 --> 0:22:23.640
<v Speaker 1>you'd have to have someone in charge saying, on this day,

0:22:23.680 --> 0:22:26.199
<v Speaker 1>for all messages that we send out, this is the

0:22:26.240 --> 0:22:29.720
<v Speaker 1>configuration you have to use, because if you didn't have it,

0:22:29.720 --> 0:22:33.080
<v Speaker 1>you wouldn't be able to decode it. Right. The German

0:22:33.119 --> 0:22:36.240
<v Speaker 1>command would specify the wheel order and the ring setting

0:22:36.280 --> 0:22:40.040
<v Speaker 1>and the the steckering the crossing Stecker means plug, so

0:22:40.119 --> 0:22:43.240
<v Speaker 1>they called it a plug board. It was Stecker bread UM.

0:22:43.280 --> 0:22:46.280
<v Speaker 1>But the thing is the cipher clerk would uh would

0:22:46.280 --> 0:22:49.760
<v Speaker 1>basically turn the three wheels to a position at random

0:22:49.840 --> 0:22:53.240
<v Speaker 1>whatever he wanted it to be, and then they would

0:22:53.240 --> 0:22:57.119
<v Speaker 1>twice put in the own randomly random text setting or

0:22:57.160 --> 0:23:00.200
<v Speaker 1>message setting UM. And this was the indicator, which is

0:23:00.280 --> 0:23:03.680
<v Speaker 1>six letter character UM. And then you set your wheels

0:23:03.880 --> 0:23:08.159
<v Speaker 1>at that three letter text setting and it would give

0:23:08.160 --> 0:23:12.719
<v Speaker 1>you the UM, the the code that the person who

0:23:12.760 --> 0:23:14.639
<v Speaker 1>would on the other side is supposed to know to

0:23:14.680 --> 0:23:17.719
<v Speaker 1>get through it. UM. The thing is it would always

0:23:17.720 --> 0:23:20.400
<v Speaker 1>have This is another thing that that boggles in mind

0:23:20.480 --> 0:23:24.520
<v Speaker 1>to me, UM, with something with a device this capable. UM.

0:23:24.560 --> 0:23:26.879
<v Speaker 1>They would transmit some things in clear text, like the

0:23:26.920 --> 0:23:31.639
<v Speaker 1>preamble basically say the time of day, the number of

0:23:31.720 --> 0:23:33.720
<v Speaker 1>letters in the text, and things like that that was

0:23:33.760 --> 0:23:36.800
<v Speaker 1>sent and clear. I guess it was necessary, but it

0:23:36.840 --> 0:23:40.360
<v Speaker 1>made it easier to figure out exactly what was going

0:23:40.400 --> 0:23:42.680
<v Speaker 1>on and when it was set. And that turned out

0:23:42.680 --> 0:23:46.320
<v Speaker 1>to be important later. UM. And they would tell you, you

0:23:46.000 --> 0:23:49.400
<v Speaker 1>you know, certain things, UM, you know, and everything came

0:23:49.400 --> 0:23:51.520
<v Speaker 1>out in five letter groups and the indicator, which was

0:23:51.520 --> 0:23:54.640
<v Speaker 1>in six letters. They changed that let later, which made

0:23:54.640 --> 0:23:56.840
<v Speaker 1>it more difficult for the Allies, but still at that

0:23:56.880 --> 0:23:59.720
<v Speaker 1>point it was too late. Yeah. And Uh. It also

0:24:00.080 --> 0:24:03.040
<v Speaker 1>didn't help that, you know, the Allies new to look

0:24:03.119 --> 0:24:05.800
<v Speaker 1>for certain words that would be used over and over

0:24:05.800 --> 0:24:09.320
<v Speaker 1>again in messages. They called them cribs. They would look

0:24:09.320 --> 0:24:14.280
<v Speaker 1>for these cribs or possible cribs and uh, based upon

0:24:14.400 --> 0:24:19.240
<v Speaker 1>just letter groupings and they could, you know, eliminate cribs

0:24:19.400 --> 0:24:22.680
<v Speaker 1>from certain groups of letters. Again, because if a certain

0:24:22.760 --> 0:24:25.000
<v Speaker 1>letter appeared at a certain part of a word and

0:24:25.040 --> 0:24:27.280
<v Speaker 1>it was the same letter that should have been, you

0:24:27.320 --> 0:24:30.040
<v Speaker 1>knew it wasn't that word, right, because of course I

0:24:30.200 --> 0:24:33.640
<v Speaker 1>letters never going encode as itself using an Enigma machine.

0:24:33.960 --> 0:24:38.560
<v Speaker 1>So um, yeah, using these basic rules, it sounds like

0:24:38.600 --> 0:24:41.159
<v Speaker 1>it's astronomical, like the number of things you would have

0:24:41.200 --> 0:24:43.600
<v Speaker 1>to eliminate, and really it is pretty it's a pretty

0:24:43.600 --> 0:24:46.320
<v Speaker 1>big number. But that's where folks like Touring came in.

0:24:46.400 --> 0:24:50.600
<v Speaker 1>They they knew a bit about the Enigma machine already

0:24:50.680 --> 0:24:55.640
<v Speaker 1>because the Enigma, the whole rotor based cryptography device, as

0:24:55.720 --> 0:24:59.600
<v Speaker 1>Chris said, predated World War Two. Yeah, it's not that

0:24:59.640 --> 0:25:01.600
<v Speaker 1>the trick is not getting your hands on a machine.

0:25:02.119 --> 0:25:05.720
<v Speaker 1>It's figuring out how what settings the machine is being

0:25:05.840 --> 0:25:08.160
<v Speaker 1>used to encode so that you can break the message.

0:25:08.240 --> 0:25:10.200
<v Speaker 1>Although it did help because if you got your hands

0:25:10.200 --> 0:25:11.760
<v Speaker 1>on the machine, you could at least find out what

0:25:11.800 --> 0:25:14.280
<v Speaker 1>the wiring was, yes, and you could you could then

0:25:14.680 --> 0:25:18.480
<v Speaker 1>start to eliminate various combinations because you're going to say, okay,

0:25:18.760 --> 0:25:22.240
<v Speaker 1>if it's if it's a Roman numeral one, rotor then

0:25:22.359 --> 0:25:25.119
<v Speaker 1>this position is always going to map to this contact

0:25:25.720 --> 0:25:28.840
<v Speaker 1>and you could start to eliminate things that way. Uh.

0:25:29.080 --> 0:25:33.160
<v Speaker 1>The the over in Poland, there were cryptographers who are

0:25:33.200 --> 0:25:37.640
<v Speaker 1>breaking these codes before World War two broke out, Yes, unfortunate,

0:25:37.640 --> 0:25:39.159
<v Speaker 1>and they had a machine that they would use to

0:25:39.160 --> 0:25:43.800
<v Speaker 1>do that called the Bombay and uh and someone set

0:25:43.840 --> 0:25:47.520
<v Speaker 1>them up the bomba. Yeah. Actually they when war broke

0:25:47.560 --> 0:25:52.760
<v Speaker 1>out and it became obvious that things were uh, that

0:25:52.920 --> 0:25:54.400
<v Speaker 1>it was going to be discovered that they were able

0:25:54.440 --> 0:25:57.560
<v Speaker 1>to do this, the machine was destroyed, which is some

0:25:57.720 --> 0:25:59.640
<v Speaker 1>of the Some of the code breakers made their way

0:25:59.640 --> 0:26:03.119
<v Speaker 1>over to England and helped the English code breakers by

0:26:03.160 --> 0:26:05.720
<v Speaker 1>adding to the level of knowledge about what the Enigma

0:26:05.840 --> 0:26:09.199
<v Speaker 1>machine was and how it worked. They also had some

0:26:09.320 --> 0:26:14.840
<v Speaker 1>breakthroughs that stemmed just from from luck and and uh

0:26:14.920 --> 0:26:19.600
<v Speaker 1>and bravery really because we're talking about uh times where

0:26:19.640 --> 0:26:25.280
<v Speaker 1>where Allies captured a German group that had an Enigma machine,

0:26:25.320 --> 0:26:29.159
<v Speaker 1>often something like a submarine. Um they would capture that

0:26:29.240 --> 0:26:31.000
<v Speaker 1>and if they were able to, they could get the

0:26:31.040 --> 0:26:34.359
<v Speaker 1>machine and the codebook, which would essentially tell them pretty

0:26:34.440 --> 0:26:37.960
<v Speaker 1>much everything they needed to know. But uh, meanwhile, Touring

0:26:38.000 --> 0:26:42.080
<v Speaker 1>was working on his own BOMBA. Yes, he was UM. Yeah.

0:26:42.400 --> 0:26:45.040
<v Speaker 1>Before we go into UH into that, I want to

0:26:45.040 --> 0:26:48.399
<v Speaker 1>point out that we left out there. There's more to

0:26:48.800 --> 0:26:52.320
<v Speaker 1>the Enigma machines UM than we really went into, and

0:26:52.359 --> 0:26:54.760
<v Speaker 1>I would recommend if you're interested in learning more UM,

0:26:54.760 --> 0:26:59.239
<v Speaker 1>there's a website for UH, the Crypto Museum, which is

0:26:59.359 --> 0:27:01.880
<v Speaker 1>in the Netherlands. It's a virtual museum, but crypto Museum

0:27:01.960 --> 0:27:06.000
<v Speaker 1>dot com UM will tell you probably everything you ever

0:27:06.040 --> 0:27:09.119
<v Speaker 1>wanted to know about the Enigma machines and UH and

0:27:09.320 --> 0:27:12.600
<v Speaker 1>more UM. But we wanted to talk about the the

0:27:12.840 --> 0:27:14.960
<v Speaker 1>attempts to break that the Navy, by the way, that

0:27:15.040 --> 0:27:17.560
<v Speaker 1>was the three rotor machine was the one used by

0:27:17.640 --> 0:27:21.360
<v Speaker 1>the Army Air Force. The Navy had a four wheel machine, yes,

0:27:21.400 --> 0:27:26.600
<v Speaker 1>which was even more complex, and the the Secret Service UH,

0:27:27.240 --> 0:27:29.919
<v Speaker 1>the people who were in the the high Intelligence groups

0:27:30.000 --> 0:27:32.320
<v Speaker 1>used a completely different machine. Were not completely different, but

0:27:32.800 --> 0:27:36.480
<v Speaker 1>UH used even more difficult machine to crack UM than that,

0:27:36.560 --> 0:27:39.320
<v Speaker 1>and they all had different variations on that. And in general,

0:27:39.359 --> 0:27:43.080
<v Speaker 1>the Navy tended to practice better security measures and UH

0:27:43.320 --> 0:27:45.560
<v Speaker 1>made it. It made it much more challenging to break

0:27:45.600 --> 0:27:49.680
<v Speaker 1>that code. The Army and Air Force, by contrast, were

0:27:49.720 --> 0:27:52.919
<v Speaker 1>not as as careful and so their codes were broken

0:27:53.680 --> 0:27:59.840
<v Speaker 1>faster than the Navy's UM. It's you know, part of

0:28:00.040 --> 0:28:04.439
<v Speaker 1>part of decoding the the Enigma machine came into figuring

0:28:04.480 --> 0:28:07.200
<v Speaker 1>out the wiring of the system, and part of it

0:28:07.240 --> 0:28:11.200
<v Speaker 1>came from, you know, more traditional cryptographic approaches where you're

0:28:11.240 --> 0:28:13.680
<v Speaker 1>looking for patterns and you're looking for a key phrases,

0:28:13.680 --> 0:28:17.320
<v Speaker 1>and you're looking for uh things that could indicate that

0:28:17.960 --> 0:28:21.199
<v Speaker 1>UM that you've stumbled onto something. So if you if

0:28:21.240 --> 0:28:24.399
<v Speaker 1>you receive several coded messages, I think a lot of

0:28:24.640 --> 0:28:26.919
<v Speaker 1>problems is that we think of of decoding as you

0:28:26.960 --> 0:28:28.919
<v Speaker 1>get one message and you're trying to figure it all

0:28:28.920 --> 0:28:31.359
<v Speaker 1>out based on that one message. There were hundreds of

0:28:31.400 --> 0:28:34.400
<v Speaker 1>messages sent. So if you have hundreds of messages sent

0:28:34.680 --> 0:28:37.560
<v Speaker 1>and you're working under the assumption that everyone has is

0:28:37.680 --> 0:28:42.320
<v Speaker 1>using the same basic layout for their Enigma machine, you

0:28:42.320 --> 0:28:45.440
<v Speaker 1>start looking for patterns, and if you find enough patterns,

0:28:45.440 --> 0:28:47.840
<v Speaker 1>you might say, oh, all right, well, look these these

0:28:47.840 --> 0:28:51.840
<v Speaker 1>two messages here start with the same essentially the same

0:28:52.120 --> 0:28:55.520
<v Speaker 1>UH patterns. So that may suggest that they're both starting

0:28:55.520 --> 0:28:58.400
<v Speaker 1>with the same word. So let's start working back. And

0:28:58.640 --> 0:29:01.000
<v Speaker 1>it may even be when I'm talking about patterns, I'm

0:29:01.040 --> 0:29:03.800
<v Speaker 1>not even necessarily talking about the same ciphered letters. Because

0:29:03.840 --> 0:29:08.840
<v Speaker 1>again if if if German A has set rotors to

0:29:08.920 --> 0:29:12.400
<v Speaker 1>a certain alphabet setting to start off, and German B

0:29:12.520 --> 0:29:16.160
<v Speaker 1>has chosen a totally different set, Uh, you're looking again

0:29:16.200 --> 0:29:20.440
<v Speaker 1>at the actual pattern of of letter occurrence, not which

0:29:20.520 --> 0:29:23.120
<v Speaker 1>letters they are. Yeah. It also helps to have a

0:29:23.800 --> 0:29:27.080
<v Speaker 1>thorough knowledge of German, much more than my one year

0:29:27.440 --> 0:29:30.800
<v Speaker 1>and in high school enabled me to UH fake my

0:29:30.800 --> 0:29:33.800
<v Speaker 1>way through that greeting. UM. No. They also look at

0:29:33.840 --> 0:29:38.880
<v Speaker 1>contact analysis, which is basically how frequently one letter will

0:29:38.920 --> 0:29:42.320
<v Speaker 1>be next to another in a language. So if you

0:29:42.400 --> 0:29:46.880
<v Speaker 1>know UH German, then you're able to know certain things

0:29:47.840 --> 0:29:51.560
<v Speaker 1>about the way UH certain words are more common than

0:29:51.600 --> 0:29:55.320
<v Speaker 1>other certain letter formations. So I think in a lot

0:29:55.360 --> 0:29:59.480
<v Speaker 1>of ways, UM, until the Allies were able to get

0:29:59.480 --> 0:30:06.440
<v Speaker 1>ahold of UH, you know, more thorough UM code cracking materials.

0:30:07.680 --> 0:30:11.840
<v Speaker 1>I think the traditional code breaking tools like cribs and

0:30:11.960 --> 0:30:16.200
<v Speaker 1>UH and contact analysis were probably very helpful to them. UM.

0:30:16.240 --> 0:30:19.640
<v Speaker 1>But what's really funny to me is in in doing

0:30:19.640 --> 0:30:23.480
<v Speaker 1>my research, I was reading about John Harrible UH, the

0:30:23.600 --> 0:30:27.920
<v Speaker 1>Cambridge mathematician. He was twenty one years old, UM, and

0:30:28.000 --> 0:30:30.560
<v Speaker 1>he was looking to UH to get into the cipher

0:30:30.600 --> 0:30:33.719
<v Speaker 1>known as red UM that the Germans had used. And

0:30:33.760 --> 0:30:37.520
<v Speaker 1>what's funny to me is he actually stumbled upon something

0:30:37.560 --> 0:30:41.080
<v Speaker 1>that we look at on that we've actually sort of

0:30:41.080 --> 0:30:44.000
<v Speaker 1>talked about on the show, and we've talked about passwords. UM.

0:30:44.040 --> 0:30:46.920
<v Speaker 1>He figured that at some point UH, they were going

0:30:47.000 --> 0:30:51.240
<v Speaker 1>to get lazy and stop changing things and stop changing

0:30:51.440 --> 0:30:56.120
<v Speaker 1>the keys that people would use for their u UM,

0:30:56.240 --> 0:30:57.960
<v Speaker 1>the codes that they would use at the beginning of

0:30:57.960 --> 0:31:00.880
<v Speaker 1>the message to tell you which rotor settings. Basically, people

0:31:00.880 --> 0:31:04.680
<v Speaker 1>would start using UH the name of their dog or

0:31:04.920 --> 0:31:08.640
<v Speaker 1>their girlfriend to start encoding the messages, and they were

0:31:08.640 --> 0:31:11.520
<v Speaker 1>going to start leaving it there. Once the first message

0:31:11.520 --> 0:31:13.040
<v Speaker 1>of the day was sent. They're not going to change

0:31:13.040 --> 0:31:16.440
<v Speaker 1>it for every message anymore because they're in a hurry

0:31:16.600 --> 0:31:18.600
<v Speaker 1>or they're lazy and they're not going to change it.

0:31:18.720 --> 0:31:23.600
<v Speaker 1>And at first UM apparently this didn't They were abiding

0:31:23.640 --> 0:31:25.160
<v Speaker 1>by the rules, they were doing things the way they

0:31:25.160 --> 0:31:28.120
<v Speaker 1>were supposed to. But as soon as people became complacent

0:31:29.040 --> 0:31:32.479
<v Speaker 1>and started leaving that setting throughout the day, once they

0:31:32.480 --> 0:31:35.040
<v Speaker 1>had cracked the first message of the day, they were

0:31:35.080 --> 0:31:37.920
<v Speaker 1>set and they were able to they could identify this

0:31:37.960 --> 0:31:40.640
<v Speaker 1>and they basically asked for all the messages sent across

0:31:41.080 --> 0:31:43.920
<v Speaker 1>all of the machines for the first one of the day.

0:31:43.920 --> 0:31:46.600
<v Speaker 1>And once they were able to do that, um, they

0:31:46.600 --> 0:31:51.040
<v Speaker 1>were able to crack read and basically identify what was

0:31:51.120 --> 0:31:54.280
<v Speaker 1>going on for the entire days communications. And that happened

0:31:54.680 --> 0:32:00.080
<v Speaker 1>around or so um, which was fairly early four I

0:32:00.080 --> 0:32:02.040
<v Speaker 1>mean it was before the Americans got involved, but of

0:32:02.080 --> 0:32:04.200
<v Speaker 1>course Europe had been embroiled in war for a while

0:32:04.480 --> 0:32:07.600
<v Speaker 1>at that point. Um. But that's a pretty that's one

0:32:07.600 --> 0:32:09.440
<v Speaker 1>of those things where we tell you not to be

0:32:10.040 --> 0:32:13.800
<v Speaker 1>careless with your passwords, and you know, even back then,

0:32:14.800 --> 0:32:18.360
<v Speaker 1>it's just sort of ironic to me. Yeah, it's interesting. Um.

0:32:18.600 --> 0:32:23.160
<v Speaker 1>The you know, it's you're talking about a device that

0:32:23.200 --> 0:32:26.160
<v Speaker 1>once you start to encode the message, that's a very

0:32:26.200 --> 0:32:31.280
<v Speaker 1>time consuming process, you know, setting your device the proper

0:32:31.320 --> 0:32:34.240
<v Speaker 1>way and then starting to actually encode it and to

0:32:34.360 --> 0:32:37.920
<v Speaker 1>confirm that you know, you that the letters you are

0:32:37.920 --> 0:32:41.480
<v Speaker 1>writing down are indeed the correct ones based upon that configuration.

0:32:42.560 --> 0:32:44.720
<v Speaker 1>It's the longer the messages, the longer it is going

0:32:44.760 --> 0:32:47.880
<v Speaker 1>to take to encode. And that means that the greater

0:32:48.000 --> 0:32:50.240
<v Speaker 1>the span of time between when the message was written

0:32:50.240 --> 0:32:53.720
<v Speaker 1>and when the message is received becomes and that that

0:32:53.920 --> 0:32:55.880
<v Speaker 1>all of that I think leads to that sort of

0:32:56.080 --> 0:32:59.880
<v Speaker 1>lazy behavior because you don't want to uh uh, you know,

0:33:00.080 --> 0:33:04.080
<v Speaker 1>suffer problems because you were too slow. So yeah, I

0:33:04.080 --> 0:33:06.600
<v Speaker 1>mean there were a lot of different reasons why this happened,

0:33:06.680 --> 0:33:08.040
<v Speaker 1>and I think a part of those just because it's

0:33:08.040 --> 0:33:09.800
<v Speaker 1>such a huge pain in the butt. But that's the point.

0:33:09.840 --> 0:33:12.080
<v Speaker 1>I mean, if cryptography wasn't a pain in the butt,

0:33:12.840 --> 0:33:16.680
<v Speaker 1>then there will be no secrecy there. You have to

0:33:16.680 --> 0:33:21.000
<v Speaker 1>make it difficult enough so that the message remains safe.

0:33:21.240 --> 0:33:25.000
<v Speaker 1>So once we started getting tired of going to those pains,

0:33:25.360 --> 0:33:28.920
<v Speaker 1>there's no more safety. Yep, yep um. But yeah, we

0:33:28.920 --> 0:33:31.640
<v Speaker 1>we talked about Alan turing Um and he invented a

0:33:31.720 --> 0:33:37.080
<v Speaker 1>machine known as the the van Barismus Um, which I

0:33:37.080 --> 0:33:39.840
<v Speaker 1>don't know why I called it that um, but yeah,

0:33:39.880 --> 0:33:43.480
<v Speaker 1>Basically it was able to identify patterns in the text

0:33:43.520 --> 0:33:47.120
<v Speaker 1>messages and that just made it faster for the Allies

0:33:47.160 --> 0:33:49.640
<v Speaker 1>to be able to track things down. Yeah. I think

0:33:49.680 --> 0:33:55.520
<v Speaker 1>his machine was capable of decoding a Enigma message within

0:33:55.760 --> 0:33:59.120
<v Speaker 1>something like fifteen hours, which sounds like it's a long time,

0:33:59.120 --> 0:34:01.719
<v Speaker 1>but when you're talking about eliminating all those possibilities, it's

0:34:01.760 --> 0:34:05.400
<v Speaker 1>pretty incredible, especially you're talking you know this is this

0:34:05.520 --> 0:34:09.840
<v Speaker 1>these are the developments that led into computers, and that

0:34:09.920 --> 0:34:12.920
<v Speaker 1>this predates computers, but these devices sort of became the

0:34:13.000 --> 0:34:16.320
<v Speaker 1>precursor to the computer. And you know, it's one of

0:34:16.360 --> 0:34:19.400
<v Speaker 1>the reasons why we talked about touring being a father

0:34:19.560 --> 0:34:24.480
<v Speaker 1>of of computing and computer science because it's this sort

0:34:24.520 --> 0:34:28.799
<v Speaker 1>of stuff that that led to computers in the first place. Yeah,

0:34:28.880 --> 0:34:31.439
<v Speaker 1>they I think. Also one of the misconceptions is said

0:34:31.600 --> 0:34:35.840
<v Speaker 1>that the machine known as Colossus was used in breaking

0:34:35.840 --> 0:34:39.680
<v Speaker 1>the Enigma ciphers, and that actually is not true. UM.

0:34:39.719 --> 0:34:42.080
<v Speaker 1>Colossus is frequently were referred to as one of the

0:34:42.120 --> 0:34:47.279
<v Speaker 1>first electronic computers UM, but it was actually used to

0:34:47.600 --> 0:34:52.000
<v Speaker 1>break the Lorenz cipher system, which is another a different

0:34:52.040 --> 0:34:55.319
<v Speaker 1>machine UM that was used by the German Army High

0:34:55.320 --> 0:34:58.560
<v Speaker 1>Command UM and Lorenz is the name of a company

0:34:58.560 --> 0:35:02.800
<v Speaker 1>and they basically had been working on a completely different

0:35:02.800 --> 0:35:07.799
<v Speaker 1>type of machine UM that did not use the Enigma codes. UM,

0:35:07.840 --> 0:35:10.680
<v Speaker 1>but yeah, they used UM. The British used Colossus to

0:35:11.480 --> 0:35:15.520
<v Speaker 1>uh figure out the Lorenz system. UM. But yeah, that

0:35:15.520 --> 0:35:18.560
<v Speaker 1>that actually is the machine that we talked about back

0:35:18.600 --> 0:35:23.560
<v Speaker 1>in our UM chip Tunes podcast when pixel hate was

0:35:23.880 --> 0:35:26.800
<v Speaker 1>had been allowed into the Bletchley Park Museum to record

0:35:27.239 --> 0:35:31.920
<v Speaker 1>the mechanical relays. And of course, uh, today's computers uh,

0:35:32.200 --> 0:35:34.840
<v Speaker 1>in terms of processing power could do the work that

0:35:34.920 --> 0:35:39.759
<v Speaker 1>these machines did in scant a fraction of what the

0:35:40.080 --> 0:35:44.000
<v Speaker 1>time needed to do that then, but um, and can

0:35:44.280 --> 0:35:48.000
<v Speaker 1>more thoroughly encrypt messages. I mean, even the freeware tools

0:35:48.000 --> 0:35:50.879
<v Speaker 1>that you can get now to encrypt email are more

0:35:50.920 --> 0:35:55.760
<v Speaker 1>thorough than than these machines were. But still very fascinating stuff. Yeah, yeah,

0:35:55.960 --> 0:35:58.880
<v Speaker 1>and um, yeah, it was really I would love to

0:35:58.920 --> 0:36:01.760
<v Speaker 1>actually get a chance to to see one of these devices,

0:36:01.760 --> 0:36:03.719
<v Speaker 1>and there aren't quite a few of them, many in

0:36:03.920 --> 0:36:07.480
<v Speaker 1>museums and things like that. Um, but I've never actually,

0:36:07.680 --> 0:36:09.359
<v Speaker 1>I mean I've seen plenty of pictures, but I've never

0:36:09.400 --> 0:36:14.080
<v Speaker 1>actually seen one of these devices. Uh, you know, kind

0:36:14.080 --> 0:36:16.040
<v Speaker 1>of curious, want to play with one a little bit,

0:36:16.239 --> 0:36:20.080
<v Speaker 1>kinda kind of I don't want to lie, you can interesting.

0:36:20.160 --> 0:36:21.640
<v Speaker 1>I don't know that I could write it in German,

0:36:22.520 --> 0:36:26.440
<v Speaker 1>but anyway, the Yeah, it's a neat, neat device, and

0:36:26.480 --> 0:36:29.880
<v Speaker 1>it really kind of speaks to human ingenuity on both sides,

0:36:30.520 --> 0:36:33.920
<v Speaker 1>both to try and keep messages secret and the determination

0:36:34.000 --> 0:36:37.560
<v Speaker 1>to to find out what that secret message actually is.

0:36:38.640 --> 0:36:41.360
<v Speaker 1>Really kind of interesting, So I guess that kind of

0:36:41.360 --> 0:36:43.880
<v Speaker 1>wraps up this discussion about the Enigma machine. If you

0:36:43.920 --> 0:36:46.840
<v Speaker 1>guys want to know more about either the the the

0:36:46.960 --> 0:36:50.320
<v Speaker 1>Enigma machine, or perhaps some other topic of very specific

0:36:50.320 --> 0:36:53.120
<v Speaker 1>device that you just think needs its own episode, let

0:36:53.200 --> 0:36:56.440
<v Speaker 1>us know. Send us a message on Facebook or Twitter.

0:36:56.520 --> 0:36:59.520
<v Speaker 1>You can find our handle there it's Text stuff HS

0:36:59.600 --> 0:37:02.239
<v Speaker 1>double you, or you can send us an email that

0:37:02.360 --> 0:37:05.400
<v Speaker 1>addresses tech stuff at how stuff works dot com and

0:37:05.440 --> 0:37:07.799
<v Speaker 1>Chris and I will talk to you again for really soon.

0:37:10.520 --> 0:37:13.080
<v Speaker 1>Be sure to check out our new video podcast, Stuff

0:37:13.120 --> 0:37:15.759
<v Speaker 1>from the Future. Join how Stuff Work staff as we

0:37:15.800 --> 0:37:20.600
<v Speaker 1>explore the most promising and perplexing possibilities of tomorrow. The

0:37:20.640 --> 0:37:23.600
<v Speaker 1>How Stuff Works iPhone app has arrived. Download it today

0:37:23.880 --> 0:37:31.040
<v Speaker 1>on iTunes, brought to you by the reinvented two thousand

0:37:31.040 --> 0:37:33.200
<v Speaker 1>twelve camera. It's ready, are you