Turing's Enigma Problem (Part 1) - Computerphile

The Enigma cipher machine, said to be unbreakable. Alan Turing had a pivotal role in cracking Enigma codes during WWII. Professor Brailsford takes us through just what Turing and his team were up against.
Engima Part 2: • Tackling Enigma (Turin...
Professor Brailsford's notes: bit.ly/enigmapart2
158,962,555,217,826,360,000 - Numberphile: • 158,962,555,217,826,36...
Flaw in the Enigma Code - Numberphile: • Flaw in the Enigma Cod...
Punch Card Programming: • Punch Card Programming...
Public Key Cryptography: • Public Key Cryptograph...
/ computerphile
/ computer_phile
This video was filmed and edited by Sean Riley.
Computer Science at the University of Nottingham: bit.ly/nottscomputer
Computerphile is a sister project to Brady Haran's Numberphile. See the full list of Brady's video projects at: bit.ly/bradychannels

Пікірлер: 595

  • @Snartifartblast
    @Snartifartblast Жыл бұрын

    The military Enigma rotors had different internal wiring to the commercial version rotors. It was the miltary rotor wirings that Marian Rejewski was able to work out purely by applying mathematics, using permutation theory, from just having a body of enciphered messages available to him and code book settings for September and October 1932. It took him just a couple of weeks to do this.

  • @raidoung4100

    @raidoung4100

    8 ай бұрын

    Polskaaaaa, pozdrawiam wszystkich polaków oglądających ten film lub też czytających sekcję z komentarzamiii :D:D:D Polska mistrzem Polskiiiiii !!!!!@

  • @octopus9001
    @octopus90012 жыл бұрын

    We can all agree this dude would be the best grandpa. So many interesting stories.

  • @ApolloVIIIYouAreGoForTLI

    @ApolloVIIIYouAreGoForTLI

    10 ай бұрын

    You are correct, He is my grandpa & he does have many interesting stories.

  • @josephgaviota

    @josephgaviota

    2 ай бұрын

    @@ApolloVIIIYouAreGoForTLI If he's your grandpa, CONGRATS to you. Seriously, I am jealous to hear his stories.

  • @malcolmpyper8772
    @malcolmpyper8772 Жыл бұрын

    At last, a explanation that makes ring-settings clear. The various books are very ambiguous on this. This is the best explanation of the mechanism of Enigma I have seen

  • @terrysky83
    @terrysky838 жыл бұрын

    This is brilliant and massively interesting. Thank you for this fantastic video.

  • @user-hb5hp6wm8z

    @user-hb5hp6wm8z

    4 ай бұрын

    😊❤

  • @chrisharrison763
    @chrisharrison7639 жыл бұрын

    Great to see David Brailsford back on the channel.

  • @ICoulntThinkofAUserNam547
    @ICoulntThinkofAUserNam5476 жыл бұрын

    I want him to read a book to me... that voice is amazingly soothing

  • @WerewolfEnjoyer
    @WerewolfEnjoyer9 жыл бұрын

    I love KZread precisely because it gives me content like this. Thanks for the video!

  • @user-hb5hp6wm8z

    @user-hb5hp6wm8z

    4 ай бұрын

    ❤❤😊

  • @Bendc1970A1
    @Bendc1970A16 жыл бұрын

    Alan will never get enough recognition for his role in history. Highly recommend watching "The Imitation Game"

  • @MatthiasDuyck
    @MatthiasDuyck9 жыл бұрын

    This is the video I wanted to see from you guys from a loooong long time... love this!

  • @Petertronic
    @Petertronic9 жыл бұрын

    Absolutely fascinating stuff, I could listen to this all day - I can't wait for a further installment!

  • @stapler942
    @stapler9423 жыл бұрын

    I don't know if this was of much help for deciphering, but since Enigma lacks umlauts you could probably expect a lot of the combinations "AE" "OE", "UE", in places where you'd expect to find vowels.

  • @msmart111
    @msmart1114 жыл бұрын

    Great repertoire. Love your simplistic account of all issues. Thank you.

  • @nickgawne
    @nickgawne9 жыл бұрын

    I could let this guy tell me a bedtime story.

  • @salerio61

    @salerio61

    9 жыл бұрын

    Me neither, I'd never get to sleep waiting for the next bit

  • @princetonburchill6130

    @princetonburchill6130

    5 жыл бұрын

    @@banama1758 Thanks for lowering the tone.

  • @Wolfpack310

    @Wolfpack310

    5 жыл бұрын

    @@banama1758 hahaha ha ha

  • @noahwilliams8996

    @noahwilliams8996

    4 жыл бұрын

    Isn't that what he's doing?

  • @livingadreamlife1428

    @livingadreamlife1428

    4 жыл бұрын

    Once upon a time, in a land far away...

  • @jlarosee
    @jlarosee9 жыл бұрын

    Hugely entertaining! Can't wait for the next EP!

  • @pg1282
    @pg12829 жыл бұрын

    It would be very interesting to see some explanation of how the cryptoanalytic process of deciphering such a contraption looked like in a bit more detail. Did the people at Bletchley Park use some specific mathematical approach helping understand the code ? Did any other electrical tools were used ? Can't wait for the next video!

  • @herbieklein2271

    @herbieklein2271

    3 жыл бұрын

    Simon Singh wrote a book where he along other things explained how the enigma worked, the polish intelligence did the dirty work in first place to then hand it over to the British when they ran out of time. If the polish had the resources they would've cracked it earlier. But anyway the book provides many graphical explanation to understand the matter. I recommend reading the youth edited version caused there are just more explanations :D

  • @pacinpm2
    @pacinpm29 жыл бұрын

    Thank you for mentioning Polish matematicians.

  • @Dziomolek

    @Dziomolek

    6 жыл бұрын

    yup, brits allways were trying to hide this information and took all the credit

  • @charlien759

    @charlien759

    6 жыл бұрын

    Lol, not true at all. Go to Bletchley park, there is a memorial deicated to the Polish mathemeticians! Of course making a movie about such events has greater effect when you can attribute everything to one man but I believe that most people recognise the heroics of the Polish mathematicians as well.

  • @filipdurczewski1326

    @filipdurczewski1326

    6 жыл бұрын

    respektek O yeah.. For how long the memorial has been there?

  • @jsmithmultimediatech

    @jsmithmultimediatech

    5 жыл бұрын

    Afterall there's a reason for calling it a 'World' War lol, combined effort :)

  • @beachbum4691

    @beachbum4691

    5 жыл бұрын

    ​@@Dziomolek Nope/ wrong - Its' never been any sort of secret that everything is based on Polish work and I've followed it for ? 40-50 years but deciphering needed the Bomb.

  • @robgandy4550
    @robgandy45506 жыл бұрын

    I've seen that movie (As I expect many have); But the way you have described it, makes it obvious now, why Turing proposed the computer. This looks/sounds like a perfect problem for a computer. Many factorials, and simple bit/binary math. Nicely done. |Thanks.

  • @TheFakeVIP
    @TheFakeVIP4 жыл бұрын

    I've watched this entire series 3 times now but I still find it really interesting.

  • @user-hb5hp6wm8z

    @user-hb5hp6wm8z

    4 ай бұрын

    ❤😊me too

  • @gyrogearloose1345
    @gyrogearloose13455 жыл бұрын

    Trotz des cleveren Designs der Deutschen haben die polnischen und britischen Mathematiker herausgefunden, wie sie den Enigma-Code brechen können. Danke, Professor und Team, für diese hervorragende Einführung! (Danke auch an Google und KZread)

  • @neilmacleod5371
    @neilmacleod53715 жыл бұрын

    Is there any imformation about the guy or gal that invented enigma ?? Seems that person must have been years ahead of their time

  • @izzyr9590

    @izzyr9590

    3 жыл бұрын

    Yeh that guy must be crazy

  • @tommothedog

    @tommothedog

    3 жыл бұрын

    Cyphers are far, far easier to make than they are to break.

  • @volfgankamei5348

    @volfgankamei5348

    3 жыл бұрын

    @@tommothedog it's also far easier to crack when you have the information about the settings of the machine.

  • @kujmous
    @kujmous9 жыл бұрын

    I made a vb module for ASCII encryption. It can be "set" with any number of one-to-one character mapping arrays (tumblers), but it goes a step further with additional settings to programmatically determine which tumblers to use based on an ASCII sum of the character being encrypted along with its previous character which is already encrypted. Also, the process can be coded to happen any number of times for completely sloppy results. It remains the code of which I am most proud. The process of making a device as complex as Enigma boggles my mind, though.

  • @sator666666
    @sator6666668 жыл бұрын

    Three Polish matematicians: Marian Rejewski, Jerzy Różycki and Henryk Zygalski cracked the Enigma in the first place using the cryptologic bomb.

  • @gh8447

    @gh8447

    5 жыл бұрын

    True, but it was an earlier version, as I understand it.

  • @Gottenhimfella

    @Gottenhimfella

    5 жыл бұрын

    @@gh8447 The Poles cracked it, the Brits scaled up, and sped up, their process up to an industrial throughput. But the Polish breakthrough was indispensable and inspirational and deeply non-obvious.

  • @energyzone242

    @energyzone242

    5 жыл бұрын

    THE ENGLISH LIKE ALL THE CREDIT - JUST LIKE MONTGOMERY WAS THE GREATEST FELDHERR OF ALL TIME AND HOW SUCCESSFUL OPERATION " MARKET GARDEN WAS " AFTER THE LANDING IN 1944 ( IT WAS MONTY'S BRAIN CHILD )

  • @marekf7605

    @marekf7605

    5 жыл бұрын

    Enigma code must have been cracked by Brits. Otherwise Poles made single most valuable contribution to war effort and they were left for idiots from east to run their country for 50 years - that's not acceptable. If you think this was early version of the enigma, so it was easy then think again, till the end of the war natzi were convinced that their code is unbreakable because mathematically it was impossible. Mathematics way how to do it was found by Polish mathematicians. Just before the war English officials were given working example of commerce version of enigma crypting machine.

  • @catlee8064

    @catlee8064

    5 жыл бұрын

    The poles cracked the civilian version used for banking transactions. The military version was ALOT more complex

  • @DrSpooglemon
    @DrSpooglemon9 жыл бұрын

    ABSOLUTELY FASCINATING!!!

  • @-danR

    @-danR

    4 жыл бұрын

    The collar?

  • @njreiswig
    @njreiswig9 жыл бұрын

    This is the coolest video you guys have done in a while I'm really looking forward to the next one!

  • @f4z0
    @f4z08 жыл бұрын

    aaaand above all of that they were speaking german. That is harsh.

  • @Anastas1786

    @Anastas1786

    4 жыл бұрын

    The Enigma Machine: From the people who brought you the word "Rechtsschutzversicherungsgesellschaften"!

  • @guitarslim56
    @guitarslim562 ай бұрын

    Damn, this guy is an excellent teacher. He can explain anything. I understand everything that he's saying.

  • @DailyShit.
    @DailyShit.5 ай бұрын

    It so interesting how all the "security measures" the germans had actually made enigma easier to crack. By adding rules (like dont put the same wheels in the same spot two days in a row, the wheels spin at different points and other i don't remember) they gave cryptographers outside constraints. If they had not done it then there would be no apparent system or logic. But the settings list had rules and the wheels were different.

  • @Nichomachean5
    @Nichomachean53 жыл бұрын

    You know, I don't understand half the stuff this guy talks about, but his voice is so engaging.

  • @brentsaunders2600
    @brentsaunders26006 жыл бұрын

    What about the number 12 is significant to Turing's implementation of the Enigma problem? Is there a mathematical principle which explains why he needed 12 machines and not 10? Thanks for any suggestions.

  • @michaelhawthorne8696
    @michaelhawthorne86964 жыл бұрын

    For those who are interested: Factorial (!) of 4 for example is 4 x 3 x 2 x 1 = 24 so 4 items of any kind can be arranged in 24 different combinations. Most calculators can only calculate 69! modern ones can go a bit further by having 3 digits in the exponent.

  • @philipp7156

    @philipp7156

    7 ай бұрын

    My tablet calculator app just managed to get me an approximate result for 205000! 1.68924757542880496668254080814683170840294519*10^999882 in less than a second.

  • @evanlee6546
    @evanlee65464 жыл бұрын

    The clearest explanation I've seen - especially that part about the ring settings vs. the rotor settings which is not explained elsewhere. Thanks!

  • @-danR

    @-danR

    4 жыл бұрын

    It's as muddy an explanation as possible.

  • @professorhamamoto
    @professorhamamoto4 жыл бұрын

    Nicely done. Would like to know the specifics of the battery as power source. Also, the lighting mechanism for the buttons in the days before LEDs.

  • @MalcolmCooks

    @MalcolmCooks

    4 жыл бұрын

    incandescent bulbs, no?

  • @AyushPandit
    @AyushPandit9 жыл бұрын

    Awesome video! I did a school project on Bletchley Park!

  • @morganspencer-churchill2136
    @morganspencer-churchill2136 Жыл бұрын

    Great teacher, great energy, great voice!

  • @ximbabwe0228
    @ximbabwe02288 жыл бұрын

    I want to fix his collar

  • @infinitecheats2408

    @infinitecheats2408

    8 жыл бұрын

    +ximbabwe0228 lol

  • @Itheb

    @Itheb

    7 жыл бұрын

    i can't watch it :( :'(

  • @OghamTheBold

    @OghamTheBold

    6 жыл бұрын

    *O.C.D* (Obvious : Collar DISLODGEMENT!!) : and - *P.T.S.D* (Protruding _Turned-back-cuffs_ _of_ Shirt DIFFER !! ) *_R > G_*

  • @CelticSaint

    @CelticSaint

    6 жыл бұрын

    Leave it be, and listen.

  • @johnhalley7114

    @johnhalley7114

    5 жыл бұрын

    I, too was buggered by that... {

  • @junkiecosmonaut5050
    @junkiecosmonaut50507 жыл бұрын

    Good video professor, thanks for uploading! :)

  • @wildweebear2684
    @wildweebear26844 жыл бұрын

    Truly magnificent fellow that Professor Alan Turing.

  • @xanokothe
    @xanokothe9 жыл бұрын

    Thanks Professor!

  • @urbanfps9080
    @urbanfps90809 жыл бұрын

    Second part please! Im loving this

  • @MichaelWilliams-gq5cm

    @MichaelWilliams-gq5cm

    5 жыл бұрын

    Agreed! What's not to Love..

  • @kpharck
    @kpharck5 жыл бұрын

    Why mentioning Simon Singh only as the owner of Enigma machine, but not the author of "The Code Book", the best introduction to cryptography ever written, and - what's important - very well researched, unlike some error-laden movies ? Singh's account of Enigma history and techniques is both complete and simple to comprehend.

  • @buckaroobanzai7063

    @buckaroobanzai7063

    4 жыл бұрын

    Amen. I love The Code Book.

  • @tech-letters

    @tech-letters

    4 жыл бұрын

    Agree

  • @bicivelo
    @bicivelo Жыл бұрын

    Love these videos!

  • @Potomacstud
    @Potomacstud9 жыл бұрын

    He is making my head spin , I am seeing stars in the middle of the afternoon

  • @MorningStarChrist
    @MorningStarChrist5 жыл бұрын

    12:09 Some modems use the same concept to enable wires to connect without having a "plug"

  • @myssmeow001
    @myssmeow0014 жыл бұрын

    looked at some photos of the paperwork that accompanied these machine, almost looked like a predecessor to ASM. Hearing it had a vuln though, useful. Suppose thats like an system built by people though..... perfect way to begin the morning.

  • @codyking4848
    @codyking4848 Жыл бұрын

    Welp, my brain is jello. It's amazing that Bletchley Park ever figured this out. Truly speaks volumes to the intelligence of the folks that broke Enigma.

  • @pondererofpointlessdreams5029
    @pondererofpointlessdreams50296 жыл бұрын

    idk why but hearing his story makes me both heartbroken and happy

  • @techaddiction3999
    @techaddiction39993 жыл бұрын

    Amazing explanation sir.

  • @OghamTheBold
    @OghamTheBold6 жыл бұрын

    *C.S.E* (Casual : Snooper's Enigma) : I admire - the woodwork *_R > G_*

  • @Laenthor
    @Laenthor8 жыл бұрын

    I also love the raspberry pi teddy bear on the desk, so cute and iconic!

  • @Seegalgalguntijak
    @Seegalgalguntijak9 жыл бұрын

    So what role did the first British computer by the name of Colossus, and the first American computer by the name of ENIAC play in breaking the Enigma codes? I've watched the Numberphile videos on the Enigma, but these machines weren't mentioned at all, while here in Germany it's always written and told that the Enigma code breaking was done by using these computers?

  • @jakewisher4623

    @jakewisher4623

    9 жыл бұрын

    And eniac I believe was used for ballistic calculations...

  • @TheDiggster13

    @TheDiggster13

    9 жыл бұрын

    Colossus was used to increase the speed with which Lorenz ciphers were broken.

  • @michelesalvemini6345
    @michelesalvemini63456 жыл бұрын

    amazing, I am loving it!

  • @JakeDavidHarrison
    @JakeDavidHarrison9 жыл бұрын

    You could have mentioned his collar to him at some point.

  • @alexo360

    @alexo360

    9 жыл бұрын

    Did not notice until i read this comment

  • @MrGoatflakes

    @MrGoatflakes

    9 жыл бұрын

    Jake Harrison word

  • @mailperson

    @mailperson

    9 жыл бұрын

    Jake Harrison That was a British style at the time they made this.

  • @nomtijorti

    @nomtijorti

    7 жыл бұрын

    shows you're not paying attention if you have the time to look at his collar

  • @RockHudrock

    @RockHudrock

    5 жыл бұрын

    Jake Harrison His collar is simply sprezzatura!

  • @simonjrobinson
    @simonjrobinson8 жыл бұрын

    I'm so glad that someone's finally addressed the rings on the rotors. So many books, documentaries, and KZreadrs seem to shy away from them. I'm still a little bit confused though. Does changing the ring position on a rotor effectively, and rather crudely, create a "new" rotor (i.e. one that has different wiring)?

  • @MrCreeperX

    @MrCreeperX

    8 жыл бұрын

    In a way, yes it does "create a new rotor"

  • @dellitsni6466

    @dellitsni6466

    8 жыл бұрын

    No, the way the wires are laid out remain the same. Changing the ring positions simply changed each wire's start position and end positions, but not the individual wire's position. Changing the ring by +1 would then turn A into B, B into C, C into D and so on. A wire could not be changed individually, independent of the other wires. You could say that changing the ring position encrypted the rotor with a caesar (shift) cipher.

  • @GentlemenAtPlay

    @GentlemenAtPlay

    5 жыл бұрын

    @@dellitsni6466 No, that's not true, and it is explained incorrectly in the video itself. The wiring or the connection of the contacts in the rotors are absolutely fixed. There are no moveable parts whatsoever that could change anything of that. The ring just moves itself - and since it contains the little recess that causes the next rotor to move, as well, setting the ring to a different position changes the point, when the rotor kicks the next one. That's it, what the ring does. It definitely does *not* change anything about the wiring or the way the contacts are connected with each other. They are hardwired, not moveable parts.

  • @Scribblersys
    @Scribblersys9 жыл бұрын

    Heer's a qwestion: Coold intenshunal typos maek an endoced massage harderer to brake?

  • @Guesswhokk
    @Guesswhokk8 жыл бұрын

    The enigma machine has already been broken (in early 1930) before the war even started. So who played a major role Alan Turing OR Marian Rejewski OR Tommy Flowers? Rejewski use mathematics to show what makes the Enigma ticked and demonstrated some of the ways to decipher it and Turing mechanised it while Flowers digitised it (well using punch tapes).

  • @SuperZombiekillar

    @SuperZombiekillar

    8 жыл бұрын

    All. Also, it was never "broken", you're entirely wrong with that. Except Turing played a major role and is likely not replaceable like the others mentioned.

  • @quantumbits

    @quantumbits

    8 жыл бұрын

    There were versions of the enigma. The Polish broke the 3 wheel version. Germany then redesigned the thumb wheels (not even aware of Polish break) and two more scrambling thumb wheels were added in series.

  • @Guesswhokk

    @Guesswhokk

    8 жыл бұрын

    There was even a plaque in Bletchley park honouring the 3 main Polish mathematician / cryptologist. Which is why Turing's machine called the' Bombe' as it originated from Marian design. But the Polish teams where mostly under resourced and against the clock, while the Germans upgraded to 4th wheel before the Polish invasion. Some of the Polish cipher teams died smuggling out of the country, 1 died by drowning and 2 where captured and sent to concentration camps. Never Forget their contribution.

  • @epistemologicaldespair68
    @epistemologicaldespair682 жыл бұрын

    Personally, this isn’t Turings work that I find most fascinating, his paper “The chemical basis of Morphogenesis” is truly original and brilliant.

  • @ATPL74
    @ATPL749 жыл бұрын

    4:56 , what happens when the third rotor reaches its turn over point, does it do nothing or does it move on the middle or right hand rotor ?

  • @GentlemenAtPlay

    @GentlemenAtPlay

    5 жыл бұрын

    If the slow rotor ever reaches this point at all (most messages were just to short to make this happen), it wouldn't do anything special. It just turns itself without moving other rotors.

  • @ricardodavidson3813
    @ricardodavidson38135 жыл бұрын

    I'm unclear on two points: 1 - The alphabet ring on the rotors could be set to any one of 26 positions but did not interfere with the wiring, this was fixed inside the rotor. This was an offset was provided although no alterations were made to the wiring. 2 - I was led to understand in the past that the commercial Enigma's 3 rotors had different wiring from the military version, even with only 3 rotors. This was one of the breakthroughs Hans-Thilo Schmidt's information gave to the Poles, who had access to the commercial Enigma.

  • @firstnamelastname8684
    @firstnamelastname86844 жыл бұрын

    i keep hearing voices in my head repeating everything i read but i have no idea who it could possibly belong to

  • @LordDragonZord
    @LordDragonZord9 жыл бұрын

    Computerphile exists? Is this the -phile series ?

  • @diba4645
    @diba46453 жыл бұрын

    did the ring setting add a Caesars code per rotor?

  • @localbod
    @localbod3 жыл бұрын

    Surely it would be possible in theory for the Enigma machine to encode to the same output letter or is that simply unfeasible?

  • @notdaveschannel9843
    @notdaveschannel98435 жыл бұрын

    Where can I get hold of the document at 7:34? It's not in the links.

  • @JulianOnions
    @JulianOnions9 жыл бұрын

    Bletchley park is well worth a visit to see a running Bombe!

  • @glialcell6455
    @glialcell64559 жыл бұрын

    Nice vid, but why would you do the multiplying by 6 and stuff? Surely you could just do 8!/(8-5)! which is a lot simpler...

  • @brodysdaddy
    @brodysdaddy7 жыл бұрын

    James Grime explains this much better. Very clear understanding of the machine after watching the numberphile video.

  • @alexstevensen4292
    @alexstevensen42925 жыл бұрын

    4:31 wow that car goes fast jeezus how fast is that thing going mach 11?

  • @Daniel-ex6kp
    @Daniel-ex6kp3 жыл бұрын

    Couldn't one put a voltage monitor on the wires and track which ones are transmitting when which buttons are pressed?

  • @danr5105
    @danr51054 жыл бұрын

    I wonder if a personal computer (with software) would have been helpful?

  • @youareanatural
    @youareanatural5 жыл бұрын

    Well done!

  • @bernhardriemann1563
    @bernhardriemann15632 жыл бұрын

    It is so cool to see how some engineers invented and evolved an encryption-machine on the one side. Meanwhile their enemys found the weak point with very smart ideas.

  • @michaelschaller3637
    @michaelschaller36379 жыл бұрын

    Another video about the evolution of ciphers after Enigma would be interesting.

  • @brian_8053

    @brian_8053

    2 жыл бұрын

    Enigma now tuning into complex computer encryption .. with billions posibilities.. if you learn computer encryption now, enigma is your third meeting..

  • @arbeeex
    @arbeeex6 жыл бұрын

    where is the link to part 2?

  • @michaelbull9428
    @michaelbull9428 Жыл бұрын

    Both "The imitation game" and the movie " enigma" weren't actually filmed at bletchley Park. I live 6miles away from it and my grandfather was stationed there during the war

  • @James_Bowie
    @James_Bowie4 жыл бұрын

    The Polish Cipher Bureau doesn't get nearly enough credit for its early work on Enigma.

  • @alizaidanthamyeez740

    @alizaidanthamyeez740

    Жыл бұрын

    Very very true

  • @anthonyj777
    @anthonyj7779 жыл бұрын

    David Attenborough bit at the end :) Loved it, great video.

  • @-danR
    @-danR4 жыл бұрын

    10:27 I feel Doenitz' face was too small for his head.

  • @smegskull
    @smegskull9 жыл бұрын

    could you not have multiples of the same rotor? combos = 3! + ((2 x 3) +1) x 3) = 27?

  • @lixulan

    @lixulan

    9 жыл бұрын

    Because then instead of each machine being shipped with 5 rotors they would need to physically have 15 remember that you are not dealing with electronics but hard wired devices.

  • @smegskull

    @smegskull

    9 жыл бұрын

    assuming the germans bought more than 1 they would be able to swap them into each others sets though

  • @chessthecat

    @chessthecat

    9 жыл бұрын

    smegskull I think his point was it becomes a bit of a logistical nightmare to get all these rotors into the field where they were being used.

  • @furbyfubar
    @furbyfubar6 жыл бұрын

    At 10:58 he says choose 3 from 8 and arrange them in any order is 336. And 8*7*6 = 336, but that's just the picking of the wheels, with the 6 ways to arrange them you'd get 2016 possibilities.

  • @temuandrew

    @temuandrew

    2 жыл бұрын

    nope! 336 is correct. number of ways to choose 3 from 8 is 8C6 = 56 then multiplied by 6 which gives 336

  • @furbyfubar

    @furbyfubar

    2 жыл бұрын

    @@temuandrew Duh, I had a brain fart there apparently. 8*7*6 of course also gives an order for the wheels already.

  • @JCSolo
    @JCSolo7 жыл бұрын

    this guy is amazing at explaining

  • @dannydk6

    @dannydk6

    7 жыл бұрын

    Jessica C. Solomon I wish he was my professor!

  • @GentlemenAtPlay
    @GentlemenAtPlay5 жыл бұрын

    There's one thing that doesn't seem correct: The Ringstellung (positioning of the ring) does *not* change the wiring of the contacts. It did *not* make an 'offset' there or alike. There was *no way* to change the wiring or which contact connects with what other contact, at all. This was just impossible, because they were fixed parts that could *not* move or rotate in any way. So, what did the changing of the Stellring actually do then? It changed the point, were this special rotor caused the rotor next to it, to move a step, as well. The Stellring is the only part of the rotor that could be rotated - all other parts are fixed. And only the Stellring itself moved (no contacts, wirings, whatsoever). But the Stellring had a little recess on it. (In the case of some rotors, it had two, as you mentioned.) So, if you moved the Stellring and fixed it in a different spot, you could determine, when exactly the rotor next to the first one would move, as well. Say, you start with the rotor in position "A" (shown in the little window), and it's Stellring is set to position "B", then this rotor would move ONE step alone, but when it moves again, it would cause the rotor next to it, to move, as well. And, if you changed the Ringstellung to position "E" (but again begin with the rotor in position "A"), the first rotor would move FIVE times alone, before it would cause the next rotor to move, as well. That's what the Ringstellung does.

  • @rogerdodger8415

    @rogerdodger8415

    4 жыл бұрын

    There was a door at the front of the machine that allowed for rewiring, by switching plugs.

  • @ericsumma7654
    @ericsumma7654 Жыл бұрын

    I still had trouble seeing how the message was recreated, until I realized (I think) that the character map "pairs" letters. If E was mapped to Y, then Y maps to E. Without this the plain text wouldn't be recoverable if Y had mapped to some other character. It's not so much random mapping as random pairing, many times.

  • @shruggzdastr8-facedclown
    @shruggzdastr8-facedclown4 жыл бұрын

    What was the name of the similar mechanism that the Japanese used during the war?

  • @sergarlantyrell7847
    @sergarlantyrell78475 жыл бұрын

    I'm just thinking how long it would take me to write a piece of code to decipher this thing. Actually I think just excel could probably do it...

  • @tomr6955
    @tomr69555 жыл бұрын

    1:48 "Not Ultra safe". Indeed.

  • @Alex000113
    @Alex0001132 жыл бұрын

    Left handed computer scientist using line printer paper, classic ! Thanks for the introduction.

  • @Twigleaf
    @Twigleaf4 жыл бұрын

    ~ 8:30 5! over 3! is 10 ? or 20? 5! / 2! I'm rusty on maths, but am I wrong? or does he mean [ 5! / (3!)(2!) ] where 2! represents the 2 unused rotors.... I would assume its already used in determining 3! .

  • @philippenachtergal6077
    @philippenachtergal60775 жыл бұрын

    14:40 Yes. Adding complexity from a superficial perspective (let's make to wheels engage the next ones at different points) doesn't necessarily add up to the mathematical or reverse engineering complexity, quite the opposite sometimes.

  • @paulcook2320
    @paulcook2320 Жыл бұрын

    I've never understood. We smuggled an Enigma machine out but they must have had books that told them what settings to use on a given day. How come we never managed to access those? Does anyone know?

  • @stevenbeach748

    @stevenbeach748

    Жыл бұрын

    The setting for the month were given out each month. The problem is if you steal the sheet, it expires at the end of the month.

  • @nick1635

    @nick1635

    Жыл бұрын

    The code books were taken, they were very high value targets, there is at least one story/case of a code book being taken out of a sinking submarine.

  • @matthewgrissop9408
    @matthewgrissop94085 жыл бұрын

    1,26th, A B C. B CD. CDE, example RZURZU, why 2 times, to be absolutely sure it was right

  • @TanjoGalbi
    @TanjoGalbi5 жыл бұрын

    The odometer was not driven by the car's engine like you stated. If it was it would be continuously moving while the engine was running whether or not the car was moving. It was driven by a wheel of the car.

  • @patbutete1722

    @patbutete1722

    5 жыл бұрын

    What drives the wheel of the car then?

  • @TanjoGalbi

    @TanjoGalbi

    5 жыл бұрын

    ​@@patbutete1722 Man I wish I was chatting with you live to ask you if you really do not know what the purpose of the odometer is. I am by no means a car expert myself having never learned to drive myself but even I know its purpose in the car! And knowing that purpose it makes no sense whatsoever for it to be turned by the engine. As I can not ask you live I will assume you do not know. The odometer measures the distance the car has travelled in its lifetime. As I stated in my OP, if you run it from the engine then the odometer will still turn while the engine is running but the car is in neutral, not exactly the best way to measure the distance a car has travelled if it's value is rising while the car is not moving! Yes, the engine turns the wheels as you are eluding, BUT it it not required to turn the wheels! For example you can have the car facing down a long hill with the engine off. Release the brakes and let the car roll. Now gravity is turning the wheels, the car is travelling and the odometer needs to measure the distance. How can it do that if its turned by the engine? It can't! Yet it will still turn because it's turned by the wheels!

  • @drjwilber
    @drjwilber5 жыл бұрын

    met simon singh at Imperial - related oe of the "errors" of the germans - in front of witnesses - also from the audience

  • @Applecompuser
    @Applecompuser3 жыл бұрын

    Does Engima have a transmitter feature, or is that a second step for the operator?

  • @vksasdgaming9472

    @vksasdgaming9472

    3 жыл бұрын

    Enigma itself was just a machine of encryption. It had some aftermarket accessories like printer which printed out decrypted or encrypted messages making it more convenient. Encrypted message was sent with radio which was completely separate system.

  • @jeffreyike841
    @jeffreyike8416 жыл бұрын

    This guy gets it. Explanation......done

  • @unvergebeneid
    @unvergebeneid9 жыл бұрын

    So how hard would it be to crack a scaled-up digital version of the enigma machine today if you remove the flaw of not being able to reflect onto itself (which is trivial to do digitally)? Say, compared to modern cryptographic methods.

  • @KaiserSpherical

    @KaiserSpherical

    9 жыл бұрын

    As an amateur cryptographer, familiar with modern encryption algorithms, I would guess that this "Enigma v2.0" still wouldn't hold up very well. Engima did a very job securing communications in the late 30's/early 40's because the work needed to break the code had to be done by manually. The were no computers that could automate a brute force attack, such as there are today. Which is why it wouldn't succeed now because with a relatively small number of finite initial settings (

  • @CassiePOE

    @CassiePOE

    9 жыл бұрын

    Daniel Rogness Well said dude.

  • @unvergebeneid

    @unvergebeneid

    9 жыл бұрын

    Daniel Rogness That's why I said "scaled up" because it's obvious that you'd have to use more wheels and stuff. My _guess_ is that rotor machines in general are still subpar in terms of both key length per security and encryption time per security (where security is the time needed to crack the code without having the key). I can't say why that is exactly though. Obviously the rotor machine principle isn't used anymore in software (although it apparently was in Seventh Edition UNIX's crypt) so it's clear there has to be at least one deal breaker with these algorithms but what is it exactly? What makes them that much more vulnerable to brute force attacks than say Blowfish or 3DES? BTW, I don't think I'd say Enigma has less than 10000 settings since I'd consider the internal setup part of the symmetric key. If you do this digitally, it would be as easy to change the internal setup as it would be to change the wheel and patch settings.

  • @charliepotatoes001

    @charliepotatoes001

    9 жыл бұрын

    It might work better than you think against casual snooping from the average person. There's not alot of people today that would recognize morse code let alone an encrypted code sent in morse. Also you have to remember the message that was encrypted was in german not english. That alone would probably put alot of people off. taking all that time and care to crack a code would be useless unless you could actually understand/translate german.

  • @KaiserSpherical

    @KaiserSpherical

    9 жыл бұрын

    Penny Lane Winter Break is coming up soon for University students here in the USA and it might be an interesting way to pass the time by actually making this digital Enigma machine. If I happen to complete it, I can send it to you and if you happen to be as bored as I am, you can examine more closely yourself and see if you can spot how you might be able to break it, if you (a) knew something about the initial settings of the machine or (b) knew nothing about the initial settings of the machine.

  • @LucidEnigma21
    @LucidEnigma219 жыл бұрын

    Amazing! :]

  • @Boomshicleafaunda
    @Boomshicleafaunda9 жыл бұрын

    Around 12:00, you show a rotor with an S->S connection, which isn't allowed!

  • @seanski44

    @seanski44

    9 жыл бұрын

    That was the wiring within that rotor, but added to the two other rotors and reflector, return path wouldn't allow 's to hit 's on the keyboard/lampboard

  • @siprus
    @siprus9 жыл бұрын

    I want more videos on algorithms!!!

  • @Wolfpack310
    @Wolfpack3105 жыл бұрын

    The odometer was driven thru a wire from the gearbox not the engine :)

  • @enochhumphreymensah
    @enochhumphreymensah5 жыл бұрын

    Correct me if I am wrong but 5! divided by 3! is 20 not 10.