158,962,555,217,826,360,000 (Enigma Machine) - Numberphile

Поделиться
HTML-код
  • Опубликовано: 9 янв 2013
  • The Nazi's Enigma Machine - and the mathematics behind it - was a crucial part of World War II. Flaw video at: • Flaw in the Enigma Cod...
    More links & stuff in full description below ↓↓↓
    Brown papers on ebay: bit.ly/brownpapers
    Dr James Grime demonstrates the machine and discusses its many configurations.
    James' "day job" is touring with the Enigma machine - he could even visit you - see more at enigma.maths.org/content/proje...
    NUMBERPHILE
    Website: www.numberphile.com/
    Numberphile on Facebook: / numberphile
    Numberphile tweets: / numberphile
    Subscribe: bit.ly/Numberphile_Sub
    Videos by Brady Haran
    Patreon: / numberphile
    Brady's videos subreddit: / bradyharan
    Brady's latest videos across all channels: www.bradyharanblog.com/
    Sign up for (occasional) emails: eepurl.com/YdjL9
    Numberphile T-Shirts: teespring.com/stores/numberphile
    Other merchandise: store.dftba.com/collections/n...
  • НаукаНаука

Комментарии • 4,3 тыс.

  • @pornhubhatesme
    @pornhubhatesme 4 года назад +3884

    Hitler when he invaded France
    0:57

  • @electricdreamer
    @electricdreamer 8 лет назад +10386

    As a side note, this machine been there for over 80 years and can still be used. That's German manufacturing quality.

    • @Atlantis357
      @Atlantis357 8 лет назад +530

      german engineering at its finest \[T]/

    • @panadudeTV
      @panadudeTV 8 лет назад +398

      Maybe it's just been restored? They changed the battery compartment so it wouldn't be surprising if they made other fixes.

    • @Astraphic
      @Astraphic 8 лет назад +128

      i guess my cherry board can last 80 years too...

    • @MultiDeivas
      @MultiDeivas 7 лет назад +292

      Please note that this machine isn't very comlpicated and it uses real wires with great connection unlike the PCBs we have now. PCBs are really easy to damage. I'm not surprised that this can survive this long. Computers would last much longer if they were built like this, but they would be too big and inefficient. The only thing in that machine that needed to be replaced or charged was the battery because we didn't have and still don't perpetual motion machines.

    • @NKP723
      @NKP723 7 лет назад +29

      Not to mention how many years it could of sat in that field

  • @beastygabe
    @beastygabe 5 лет назад +479

    0:57 “YOINK, THATS MINE”

  • @zois1382
    @zois1382 5 лет назад +326

    a great thank you to Alan Mathison Turing🇬🇧 and of course to the Polish mathematicians 🇵🇱 from Greece 🇬🇷.

  • @scarletrobin
    @scarletrobin 8 лет назад +3067

    It's so fun to watch people talk about things they're passionate about :)

    • @Dervig
      @Dervig 7 лет назад +1

      +Ethan Ho XDD

    • @fyodorplays6094
      @fyodorplays6094 7 лет назад +30

      well trump is passionate about making american lives better but i dont see u voting dude
      u vote trump now boi ;0

    • @royakuma4144
      @royakuma4144 6 лет назад +1

      scarletrobin you answered my long haunting question of why i selectively listening to different voices with different attention!

    • @RedCocoon
      @RedCocoon 6 лет назад +1

      Like the Germans and Nazis?

    • @SgtWiking
      @SgtWiking 6 лет назад +1

      I was the #666 thumbs up, I now own your soul, have a nice day scarletrobin.( ̄ω ̄)

  • @p00x39
    @p00x39 8 лет назад +2829

    the click the machine makes when you press a button is highly satisfying

    • @waterpkmn
      @waterpkmn 8 лет назад +41

      +Poockiy You need Cherry MX Blue

    • @p00x39
      @p00x39 8 лет назад +7

      Yosua Petra I'm using Brown.

    • @waterpkmn
      @waterpkmn 8 лет назад +6

      Buckling spring is the way to go then 😃

    • @sennheisergutennacht
      @sennheisergutennacht 8 лет назад +1

      +Poockiy tactical click before it was cool

    • @Trynottoblink
      @Trynottoblink 8 лет назад +18

      Someone needs to make Enigma machine ASMR.

  • @trillionairegrindset7175
    @trillionairegrindset7175 4 года назад +1189

    Omg he has 3,14 million subscribers and his profile picture is π

    • @carlsagan4129
      @carlsagan4129 4 года назад +32

      Omg stop subscribing now !

    • @AWGERSS
      @AWGERSS 4 года назад +24

      balanced like everything should be

    • @rabih1978
      @rabih1978 4 года назад +6

      It's a Christmas miracle!!

    • @rabih1978
      @rabih1978 4 года назад +5

      Was...

    • @dalbled8534
      @dalbled8534 4 года назад +12

      3.15 pie has changed

  • @GaryIV
    @GaryIV 4 года назад +907

    0:57 Thomas Edison when he met the man who actually invented the lightbulb

    • @Inaworldoflove
      @Inaworldoflove 4 года назад +34

      I wish I could hit the laughter reaction instead of a thumbs up

    • @farrellpurba2095
      @farrellpurba2095 4 года назад +1

      What are you implying here?

    • @GaryIV
      @GaryIV 4 года назад +69

      @@farrellpurba2095 That Thomas Edison didn't invent the lightbulb and took the public credit for it

    • @micadragonheart6222
      @micadragonheart6222 3 года назад +4

      Creative Nothing I mean like... it’s just a fact at this point yet it isn’t corrected.

    • @magisterialanubis06
      @magisterialanubis06 3 года назад +2

      You don't know how much I laughed😂🤣🤣

  • @xXxJokerManxXx
    @xXxJokerManxXx 8 лет назад +2330

    Interesting how wars can make people invent really unimaginable stuff....

    • @keithwilson6060
      @keithwilson6060 8 лет назад +203

      Yes, the increase prospect of death tends to do that sometimes.

    • @marcushendriksen8415
      @marcushendriksen8415 8 лет назад +138

      War is the mother of invention

    • @xXxJokerManxXx
      @xXxJokerManxXx 8 лет назад +27

      Marcus Hendriksen I think it is "necessity", but yeah war is acceptable too

    • @kauhanen44
      @kauhanen44 7 лет назад +47

      War and laziness are the parents of invention.

    • @marcushendriksen8415
      @marcushendriksen8415 7 лет назад +3

      xXxJokerManxXx Oh wait, yeah you're right! Funny, I always thought it was "war" for some reason xD

  • @RyanHorseHelmet
    @RyanHorseHelmet 6 лет назад +313

    I want a mechanical keyboard with enigma click sounds...

    • @radhikasudheer
      @radhikasudheer 2 года назад +5

      Me too. Maybe try clipping retro classic switches or maybe do some serious click bar messing on THICC Clicks

    • @tioa.p.1058
      @tioa.p.1058 2 года назад +1

      EXACTLY!

    • @rabidbigdog
      @rabidbigdog 2 года назад +1

      IBM Model M keyboard pretty close.

  • @1patula
    @1patula 4 года назад +265

    Thank you for bringing up polish, it’s nice being put in such a great context, not many people know we had our part in breaking Enigma code.

    • @criscrosxxx
      @criscrosxxx 4 года назад +5

      Have you seen " imitation game " it's based on breaking enigma

    • @Poraqui
      @Poraqui 2 года назад +11

      The Polish, from memory, I believe, also built a decoder machine, but it became outdated as the Germans replaced their enigmas for newer more complex ones.

    • @stevendebettencourt7651
      @stevendebettencourt7651 Год назад +7

      @@Poraqui The Polish Cypher Bureau did build several Bomba machines to help decrypt Enigma messages. However, the Germans made several changes to how they sent messages in 1939 that basically blew up their efforts. And then Poland got invaded by Germany and the USSR.

    • @MrConstitutionDay
      @MrConstitutionDay Месяц назад

      L​@@Poraqui

    • @SailorGerry
      @SailorGerry 6 дней назад

      Historically, the Polish nation had one of the highest number of mathematicians per capita. This account that their nation had enemies on both their western frontier, Germany (Prussia prior-to 1870), and to the east, Russia. Throughout history, Polish governments nourished the training of talented people in the mathematics of code-breaking, to attempt to ascertain what the intentions were, of their enemies to the east and to the west.

  • @jimgeary
    @jimgeary 4 года назад +433

    Props to him for mentioning the Poles first.

    • @user-sd6lg8lf5c
      @user-sd6lg8lf5c 3 года назад +2

      Jim Geary Why?

    • @amramjose
      @amramjose 3 года назад +74

      @@user-sd6lg8lf5c Because the Poles where the first to get their hands on a machine; they took it apart and documented components, settings, etc. Then they built their own simulators called "bombas", mechanical computers; their mathematicians did the foundational work on breaking the code, finally completed in
      England. The Poles when through tremendous hardship to get this information to the allies.

    • @user-sd6lg8lf5c
      @user-sd6lg8lf5c 3 года назад +4

      @@amramjose They barely battled though and just got took over. They weren't really big components to the war. It would've looked similar without them.

    • @xtevetyler5332
      @xtevetyler5332 3 года назад +12

      @@amramjose as my comment above states, you are indeed correct, the Poles began making headway before the start of WW II. The main codebreakers who joined the Polish General Staff’s Cipher Bureau in Warsaw were Jerzy Rozycki, Henryk Zygalski, and Marian Rejewski.
      (plus the machine less one rotor was actually available to buy commercially some time in 1932 in the danish buisness newspapers as a means to encode private buisness deals and transactions, had the allies noticed this the whole enigma project would have been very different, maybe hitler would have vamped the machine up to another level of complexity as a consequence and the probable solution would have moved even further into an even more infinite improbability of solving, in that case, who knows, thats for a parallel reality world to solve not ours, luckily.)
      maneuvers

    • @leepek3575
      @leepek3575 3 года назад +4

      POLAND !

  • @BillyDrakePianoMan
    @BillyDrakePianoMan 8 лет назад +323

    It still blew my mind when he typed the code back in to write Numberphile. That's super cool.

  • @Tylerodenthal
    @Tylerodenthal 10 лет назад +179

    That Polish Mathematician was Marian Rejewski, he acted as a spy for a couple years, hid from the Nazi Party, broke the Enigma Machine and after all that lost some of his best Mathematician friends who were trying to escape the war. He is truly an un-song hero, and without him, I am certain we would have lost the war. The more remarkable thing is that there was multiple versions of the enigma machine throughout the war, and Marian and his colleagues broke them all.
    Tyler Odenthal - ITS Major
    Did my Cyptologist Research Report on? ----> Marian Rejewski

    • @piotrbrys8008
      @piotrbrys8008 5 лет назад +9

      I am happy to see that at least someone remembers him; the knowledge about these hardworking men should be spread further.

    • @boozecruiser
      @boozecruiser 4 года назад +2

      How would Germany have won if enigma hadn't been broken???

    • @XXXTENTAClON227
      @XXXTENTAClON227 Год назад

      He broke the machine?? What an asshole! That was for code breaking!!

    • @ar2rgski
      @ar2rgski Год назад +1

      @@boozecruiser Think...
      ,, through Enigma, the Allies obtained invaluable information about German military movements

    • @viktorpe8065
      @viktorpe8065 8 месяцев назад

      Allies would've won either way.

  • @GaryIV
    @GaryIV 4 года назад +356

    0:57 My landlord when the stimulus check came in

    • @PovidisII
      @PovidisII 3 года назад +1

      FYGWNB ASISYS WNOKOQ Q (JNO)

  • @XubodhKhadka
    @XubodhKhadka 5 лет назад +504

    My level of intelligence maxed out after 26 × 26 × 26 😅

  • @BlizzyFoxTF
    @BlizzyFoxTF 8 лет назад +346

    I watched this vid two years ago. Just now finished watching imitation game and returned to view this a second time

    • @lukamarkac6706
      @lukamarkac6706 7 лет назад +4

      Literally the comment I had intention to write. I guess you decoded me. Absolutely everything is true: watched it two years ago, just watched Imitation game, and returned to this vid just for the sake of it.

    • @bobocpe
      @bobocpe 7 лет назад +3

      This movie lies about Enigma...

    • @CarlMahnke
      @CarlMahnke 7 лет назад +24

      This video is ten times more interesting than the film. The film tells you literally nothing about the enigma and its mysteries.

    • @lukamarkac6706
      @lukamarkac6706 7 лет назад +5

      Carl Mahnke depends what you like seeing. Story developed about this machine fascinates me as much as the machine itself.

    • @user-qm8jh4wx5f
      @user-qm8jh4wx5f 5 лет назад

      How about a third time now?It's been 2 years

  • @tohtoh529
    @tohtoh529 10 лет назад +160

    "Yoink, that's mine"
    LOL

    • @werderlork9056
      @werderlork9056 6 лет назад +8

      TriHard Clap
      Jk

    • @jabir5768
      @jabir5768 6 лет назад +1

      for some reason i couldnt stop laughing

  • @JaredOwen
    @JaredOwen 2 года назад +225

    For a split second I thought that big number was the amount of views that this video had! Either way - impressive video, thanks for posting

    • @Whateva67
      @Whateva67 2 года назад +8

      That would be impressive, I alone would have had to watch the video at least 147364 times, give or take a couple 😁

    • @deleted-something
      @deleted-something Год назад +5

      Bro really used lsd

    • @paulcolburn3855
      @paulcolburn3855 9 месяцев назад +3

      that number is almost as big as the US federal debt

    • @sabbracadabra8367
      @sabbracadabra8367 8 месяцев назад

      Yea it looks like a Katy Perry video

    • @SailorGerry
      @SailorGerry 6 дней назад

      ​@@sabbracadabra8367
      Or a Justin Bieber video...
      Sad, sad juncture that humanity is at these days.

  • @pascalotto5790
    @pascalotto5790 4 года назад +138

    "But there is a flaw... if I press the letter 'k'" --> Guy pressed k and the machine exploded

    • @Your_choise
      @Your_choise 2 года назад +2

      Why dose this have no comments

  • @OtakusRUs2
    @OtakusRUs2 9 лет назад +881

    I just got back from watching The Imitation Game, and it's such a fun coincidence that I find this video now.
    The movie is quite good, I highly recommend it.

    • @SUCACU
      @SUCACU 9 лет назад +25

      Indeed it was !

    • @chitranchakrabortty
      @chitranchakrabortty 9 лет назад +27

      「S」 Cumberbatch's acting was brillian too

    • @BurningTaco7101
      @BurningTaco7101 9 лет назад +5

      I hate Butterchick Cumondick, bad actor.

    • @JoaoCarlos-pf7ff
      @JoaoCarlos-pf7ff 9 лет назад +1

      「S」 The same with me!!! LOL

    • @HarmonicaMustang
      @HarmonicaMustang 9 лет назад +8

      「S」 It is an amazing film, but it's one of those movies that you can watch once. Some scenes are too painful to re-watch.

  • @andres6868
    @andres6868 8 лет назад +14

    For those wanting additional information, in Simon Singh's book "The Code Book", the way the Enigma Machine worked and how it was eventually cracked by the Poles first and by Turing later is very niftily explained

  • @LThill-ks2uz
    @LThill-ks2uz 5 лет назад +320

    the flaw is, the video runs out before the flaw is revealed

    • @leen3158
      @leen3158 5 лет назад +20

      another enigma

    • @FriendlyNeighborhoodNitpicker
      @FriendlyNeighborhoodNitpicker 5 лет назад +25

      I hate it when they do these partial videos, and then you can’t find the second half because they gave it some different name.
      Fortunately, the second video, about the flaw, is listed in the show notes. Expand the description and it’s there.

    • @scottlawson1800
      @scottlawson1800 4 года назад +1

      @@FriendlyNeighborhoodNitpicker ^ Cheers!

    • @cherrypichick6782
      @cherrypichick6782 4 года назад +6

      The Nazis killed him before he could tell! 😳

    • @intentionaloffside8934
      @intentionaloffside8934 4 года назад +2

      The flaw is that a letter can never be transcribed as itself.

  • @alienlatino2945
    @alienlatino2945 5 лет назад +31

    The Americans would use Navajo native indians from Arizona as their human enigma machines in WW2. Navajo indian language is said to be the most complicated in the planet, more than chinese or Inuit. Its impossible to learn and the only way to know it is by learning it from birth from your parents. Each american division would take a navajo indian with them and they would speak with each other by radio, each translating into english the navajo radio calls. The japanese and the germans were never able to decipher the language. In the navajo language there are 160 ways to describe "little" or "small" just to give you an example how complicated it is.

    • @if6was929
      @if6was929 5 лет назад +2

      @James Marcus you can't just claim it as false unless you explain why, at least not if you want to be taken seriously.

    • @cheetoschrist5685
      @cheetoschrist5685 5 лет назад +9

      Germans: *invent incredibly complex machine that is near indecypherable*
      USA: lets just speak another language lol

    • @firstlast4379
      @firstlast4379 5 лет назад +2

      Sounds interesting. Any sources for the claims? OP and James?

    • @ratedRblazin420
      @ratedRblazin420 3 года назад +4

      There's a movie on it. It's called Windtalkers

    • @jameson1239
      @jameson1239 Год назад +1

      @@firstlast4379 you can look up Navajo code talkers

  • @gjVAallday
    @gjVAallday 6 лет назад +32

    I'm really glad to see that George Weasley found his passion in muggle arithmetic after the war. His ear's looking great too.

  • @flvyu
    @flvyu 8 лет назад +39

    I like this channel because 50 percent the accents of these genius people, 25 percent their high interest in what they do, they are always excited, and 25 percent because it's an interesting channel

  • @SecondMoopzoo
    @SecondMoopzoo 5 лет назад +10

    What a lovely man. You can tell his soul is that of a teacher.

  • @voodoominerman
    @voodoominerman 3 года назад +18

    It actually got even more complex than that, because it was possible to open up the rotors and rewire them, or to simply twist each side of the rotor by a few turns (so pin 1 on the let would match up to pin 3 on the right, for example), so if they ever worked out that we had an enigma machine and were regularly getting our hands on the code sheets, they could just start to rewire all of the machines, making ours useless for a while.

  • @speckledhound
    @speckledhound 6 лет назад +23

    This is absolutely fascinating, you think you understand the complexity but then seeing the number when the actual math is done is mind blowing. Well done!

  • @BreadApologist
    @BreadApologist 9 лет назад +1006

    personally id find this number "158,962,555,217,826,360,000" a lot more fascinating......if it were the balance in my bank account....

    • @Chaosligend
      @Chaosligend 9 лет назад +46

      Liono liony If that were your balance in your bank account you would crash the world economy and a lot of people would die(if you were to spend everything as fast as possible of course). Do you find that fascinating?

    • @BreadApologist
      @BreadApologist 9 лет назад +71

      Chaosligend indeed.........hmm.......so all I need is that much cash......to bring about the end of the world?.......ill start taking donations!

    • @ColmRooney
      @ColmRooney 9 лет назад +4

      Chaosligend couldn't u just share it out equally? no more rich/poor just everyone equals

    • @Chaosligend
      @Chaosligend 9 лет назад +33

      Colm Rooney This is not how it works. You would crash world's economy either way. If you were to share it and to have everyone get the same amount of money, nobody wouldve been poor nor rich. There would be so much money that they would've just become useless. You've seen those pictures of germany after ww1? Their cash was worth, basically, nothing. They used to throw it in the furnace just to warm their house. A slice of bread costed about 2 carts of cash. So, what would happen is that people would drop money as they're not worth anything anymore, they would be worth less than paper that they're made of. People would just go back to the stone age where, the only way you could get grasp of food or items you didn't make yourself was to exchange those items for something equally valuable. As I said, a lot of people, such as lawyers or youtubers, the ones that basically don't make something physical, would die.

    • @BonelessEar
      @BonelessEar 9 лет назад +10

      Chaosligend This is not how it works either. You have to take in account the fact that there are guys who "prints" the money by just pressing a button and the rest has to work (physically or intelectually) to get some. And nowdays you dont even need coinage or money printing to create money - you got numbers inside computers. So money only represents value as long as people do believes it. Only 10% of all amount of money on the world has something to do with real economy - the rest is a sort of whip in modern slavery. Remember Gaddafi's doubt about US$ real value? We all know how he ended up after he refused to accept money for Lybian's oil.

  • @LeszekEm
    @LeszekEm 4 года назад +24

    thanks for mentioning Poland :)

  • @elr1833
    @elr1833 4 года назад +95

    The manufacturer: "Don't press K it is the flaw"
    The army: "KAPUTT ALLIES"
    The Polish: "Got them"

  • @ltshep713
    @ltshep713 8 лет назад +238

    Amazing how an online history lesson was able to more effectively and efficiently teach me about factorials and how to solve equations containing such functions than my advanced algebra course in high school.

    • @ltshep713
      @ltshep713 8 лет назад +4

      I like dirt Oh, I was unaware he was a professor. New to the channel. Still, it only took this one short video for me to learn so much.

    • @MrCrackbear
      @MrCrackbear 8 лет назад +15

      +ltshep I easily learn more about science in 20-30 minutes of random videos and wikipedia articles than I do in science class

    • @anticdisposition5908
      @anticdisposition5908 8 лет назад +5

      +ltshep Maybe you should pay more attention in class. I get a perfectly fine education here in America.

    • @1001011011010
      @1001011011010 8 лет назад +5

      Back in high school, I switched schools and for the last two went to a different school. The teachers would literally just tell me to go to Khan Academy or whatever. They couldn't bother to teach it well enough but needed you to look it up later. What's the point of wasting 8 hours a day if you need to learn everything outside the classroom anyway?

    • @Neonator
      @Neonator 7 лет назад +1

      ltshep this made so much sense all of a sudden

  • @jbyeats
    @jbyeats 9 лет назад +388

    Dear Dr Turing ,
    WE want to thank you for your enormous contribution & for your work relating to breaking the
    German Military codes & to acknowledge your unique input into developing the very first computer.
    Now -- this won't hurt at all -- Dr Turing. - We just want to CHEMICALLY CASTRATE you.
    You won't feel a thing.

    • @baseballmaniac999
      @baseballmaniac999 9 лет назад +40

      Breaking the Enigma Machine was a government-held secret. No one except the british secret services knew the code was broken. So for the british autorities, Mr. Turing was a simple military mathematician who was homosexual, and at that time, it was illegal. At least there was an official public apology towards Alan Turing in 2009 and in 2013, the Queen granted him with a posthumous pardon. Only sad thing is he wasn't alive anymore

    • @jbyeats
      @jbyeats 9 лет назад +67

      The Poles originally broke the basic German
      Enigma code in 1933.
      In 1939 they handed their mathematical formulae to the Brits who realized its importance to them -- should they go to war with Germany.
      Breaking the CODE was NOT or EVER the PROBLEM .
      The problem was BREAKING IT
      FAST ENOUGH so that the information contained within the message would be of some use.
      All that changed with the arrival of Dr Alan Turing -- who managed to develop a MECHANICAL COMPUTER which speeded up the decryption process to within about 30 - 40 minutes.
      Turing was worth his weight in GOLD to the Brits. The only reason these hypocrites acknowledged his huge value was because
      of MODERN DAY PUBLIC OPINIUON and the people who WORKED AT BLETCHLEY PARK ---- OPENLY SPEAKING OUT.
      Otherwise Dr Turing & his superb contribution would have been conveniently forgotten.
      A bit like Diana -- Princess of Wales &
      the attitude of the ROYALS towards her.
      A typical case of BRITISH HYPOCRISY.

    • @muhamadhamdy6576
      @muhamadhamdy6576 9 лет назад +1

      jbyeats loooooooooooooooooool omg thats hilarious.

    • @larsss7359
      @larsss7359 9 лет назад

      BOVEK Music Imitation Game movie

    • @Wizardofgosz
      @Wizardofgosz 9 лет назад +27

      jbyeats Thank you for mentioning the Poles. Without Marjan Rejewski and his two colleagues, Turing has nothing to work with. I have no idea if he had done any early theoretical work in cracking the cipher, but the Poles did, and they typically get NO CREDIT. As a Pole this has angered me for years. :-)

  • @naved705
    @naved705 4 года назад +3

    The guy asked my question bursting from my heart.. Thank you..

  • @charlescushing1
    @charlescushing1 4 месяца назад +1

    Well-spoken, crystal clear and a delight to watch! I could listen to you for hours. I didn't want the video to end.I watched a few of your others as well!

  • @combatking0
    @combatking0 8 лет назад +382

    It would be interesting to build this in software and expand it to 8 rotors with 1024 contacts.

    • @AryVinicius
      @AryVinicius 8 лет назад +28

      +Combat King 0 i was thinking about it, and i'm trying to write some algorithms.
      I dont know if already exists on the web. but i'll try

    • @combatking0
      @combatking0 8 лет назад +18

      Since 8-bit bytes have 256 values and we're working with 1024 values, we could take 5 bytes from a file at a time and divide the bits into 4 groups of 10. That'll give us 4 10-bit numbers which we can put through the algorithm. Once the 10-bit numbers have been encrypted, we split the bits back into 5 groups of 8 and then store the bytes in a new file.

    • @Embattled5211
      @Embattled5211 8 лет назад +7

      +Combat King 0 got anywhere? This seems very interesting.

    • @combatking0
      @combatking0 8 лет назад +14

      I might as well come clean - I've already written the program. It's a bit buggy and fails if there are any read only files involved, but I can fix these problems with enough time. Also it only works under Windows as I don't have any Linx / Mac OS / iOS / Android coding experience, but if you look for a program called Zero Encrypter 4 it does exactly what I've described.

    • @chrisherrick2397
      @chrisherrick2397 8 лет назад +1

      +Combat King 0 Where's the code posted?

  • @ChrisBandyJazz
    @ChrisBandyJazz 8 лет назад +2126

    One more problem: translate from German to English

    • @BestFilmproducer
      @BestFilmproducer 8 лет назад +271

      Smallest problem of all. People like me would have been around back then: Dänish-geborener deutscher mit starkem flair für Sprachen. And so, the translation part would probably take 1/1000 of the time it'd take to break the code.

    • @davecrupel2817
      @davecrupel2817 8 лет назад +26

      +Troy Tribbiani vergib ihm, mein fruend. He is a modern person. lol

    • @ChrisBandyJazz
      @ChrisBandyJazz 8 лет назад +30

      Es ist ein klein Problem lol

    • @suspiciousdoge9yand104
      @suspiciousdoge9yand104 7 лет назад +4

      well even if translating it isn't much of a problem, it still is until you have someone available.

    • @osmacar5331
      @osmacar5331 7 лет назад

      Chris Bandy PanzerKamphWagon, armoured battle car, tank

  • @steepens
    @steepens 4 года назад +21

    I learned so much from this video. There was a version of the Enigma used for the German Navy that had 8 total rotors (select 3), a fourth rotor, a settable reflector, and the rings on the rotors could be rotated to change the wiring for each letter. Additionally, the rotors could be placed in any order. How do these details change the total number of configurations? Great video I learned a bunch! Thank you!

    • @ralphedelbach
      @ralphedelbach Год назад

      Based on what I read, the fourth rotor was to the left of the other three and did not move automatically as the message was encrypted or decrypted on different machines. It could however be manual rotated/set into different positions but naturally had to be identical on each machine. Its design was also different that the other three and could not be interchanged with them.

  • @wahtur711
    @wahtur711 4 года назад +23

    3.14million subscribers!!

    • @numberphile
      @numberphile  4 года назад +9

      ruclips.net/video/__UlMppZZgs/видео.html

  • @spinn4ntier487
    @spinn4ntier487 7 лет назад +11

    I love digit sequences like '555' appearing in big numbers

    • @nonamechannl
      @nonamechannl Год назад

      Ive been finding a lot of 555s lately,what does it refer to?

  • @KillmanPit
    @KillmanPit 9 лет назад +20

    Thank you very much for mentioning Polish mathematicians. After the war British goverment was hiding accomplishments of Polish people (battle of London, breaking Enigma, Monte Casino Battle, etc.) in order to make Stalin (Soviet Union) happier (which was taking control over Poland). It was after 1980s when this data was unclassified but still many Europeans do not know. Propaganda worked. So once again. Thank you very much in the name of all Polish modern mathematicians (And sorry for bad English)

    • @acadianalien
      @acadianalien 9 лет назад +1

      I did not know that, I wonder if there any Mathematicians from other countries whose work went unappreciated during the war.

  • @peterhodges2866
    @peterhodges2866 4 года назад +6

    This is one of my favorite videos on RUclips. Thanks.

  • @edward_grabczewski
    @edward_grabczewski 3 года назад +4

    Brilliant demonstration. The only one I've seen that convicingly shows how it was used :-)

  • @edt11x
    @edt11x 6 лет назад +23

    That is the clearest description of the Enigma, that I have heard. Very Nice!

  • @Urban2037
    @Urban2037 6 лет назад +5

    I watched a ton of documentaries and even a movie about the Enigma machine, but this is by far the best explanation I've ever seen. It's very fascinating and interesting. Thank you!

  • @theduder2617
    @theduder2617 5 лет назад +2

    Thank you Numberphile!! For decades I have been trying to make sense of this device. How it functioned remained a mystery. Until now.
    Other's who explained it never bothered to mention the interconnected circuitry held within the dials.
    (I couldn't figure out how the correct letters showed up since the device seemed to have a randomness to it)
    Thank you very much for clarifying this device.

  • @morphling470
    @morphling470 10 лет назад +288

    The Nazis ripped off the Enigma from Dota 2.

    • @pk7685
      @pk7685 9 лет назад +1

      How dare !!

    • @NomadUrpagi
      @NomadUrpagi 6 лет назад

      imran876339 hahaha made me crack up. But fock ya mate

  • @adammullarkey4996
    @adammullarkey4996 4 года назад +54

    1:00 You're a cryptographer, wandering through a French field, and you happen to come across the single most well known cryptographic device ever. What else are you going to do with it? Leave it for a cow to choke on?

    • @polarisraven5613
      @polarisraven5613 3 года назад +1

      I'd imagine this could have been some sort of a legal excuse as to how they got it so they could legally hold onto it following the war?

    • @adammullarkey4996
      @adammullarkey4996 3 года назад +1

      @@polarisraven5613 Because "spoils of war" isn't a legal argument?

    • @juliuszkocinski7478
      @juliuszkocinski7478 2 года назад

      @@adammullarkey4996 "legal" doesn't always mean something you can be proud of

    • @staringgasmask
      @staringgasmask 2 года назад

      @@juliuszkocinski7478 and lying is?

  • @lalaLAX219
    @lalaLAX219 Год назад +1

    This was the best explanation on how this machine works that I’ve seen! Thank you so much

  • @hellsSG
    @hellsSG Год назад

    I know i'm like 10 years late on this but the way you are enthusiastic about numbers and the machine in general is just affectuous. Great channel great work :)

  • @crimsonszero
    @crimsonszero 4 года назад +151

    when the united states finds another country with oil
    0:57

    • @OHYS
      @OHYS 3 года назад +3

      this is the best one

  • @jessemcfadden3426
    @jessemcfadden3426 8 лет назад +3

    Very friendly and understandable explanation ! Thanks a lot

  • @divermike8943
    @divermike8943 2 года назад

    This answers my question of why the plugboard. And this is the only video I've seen so far that answers that. Also the issue of coordinating the settings with the codes sheets and how those were secured. Kudos.

  • @ZeninmyHelmet
    @ZeninmyHelmet 4 года назад

    Wel Numberphile, I must applaud you have done some great work on this video and its part 2, keep u the work bro. U work very hard for your videos that is what makes it so interesting. This is a genuine comment from someone who really appreciates the work you do

  • @TomFowkes
    @TomFowkes 7 лет назад +52

    never press the letter k i guess

  • @vksasdgaming9472
    @vksasdgaming9472 9 лет назад +10

    Every security system or cipher used by humans has one, fundamental flaw: human operator. That fact broke Enigma's very efficient code. Enigma wasn't perfect, but its users were the real flaw in its operation.

  • @MrSpasticdancer
    @MrSpasticdancer 4 года назад

    you always do your sums by hand and it intimidates me

  • @balajiijjapwar1872
    @balajiijjapwar1872 5 лет назад +2

    Thanks a ton for such wonderful explanation🙏.Really loved it!

  • @samwarren6008
    @samwarren6008 4 года назад +15

    If I lived in the UK I would like to go to the University of Cambridge just because James works there.

    • @rcv0
      @rcv0 3 года назад +1

      Possibly not anymore

  • @vedant9634
    @vedant9634 4 года назад +21

    Damn that movie 'The Imitation Games' didn't cover this part!

    • @rehab_herr
      @rehab_herr 4 года назад +2

      which part? and did you pay attention?

    • @hxhdfjifzirstc894
      @hxhdfjifzirstc894 3 года назад +2

      They went a little thin on the story.

    • @izzyr9590
      @izzyr9590 3 года назад +1

      Yeh I was super confused what’s going on. But I guess that would make the movie too technical

  • @CocaColaIceBear
    @CocaColaIceBear 5 лет назад +2

    Your Enigma only has 3 rotors. German Navy used 4 or 5 and later upgraded to 6; they called it "Triton Key".

  • @Anthony-gq7dk
    @Anthony-gq7dk 2 года назад

    amazing video and so well explained too, bravo , superteacher.

  • @kidz2398
    @kidz2398 9 лет назад +12

    As Alan Turing's partner said. "159 Million Million Million possibilities."

  • @FrankDad
    @FrankDad 4 года назад +4

    5:15 The kriegsmaine had 4 rotors on their machines instead of 3, that is why it was so important to get a naval enigma machine from a u-boat

  • @leslieblake9
    @leslieblake9 5 лет назад

    I love maths. But at school, I didn't. It's extremely satisfying how he takes complex problems and makes them seem easy! If only there were more early education teachers who explained mathematics as eloquently and succinctly as he does, we would have more students progressing into STEM fields.
    Love this RUclips channel.

  • @sean..L
    @sean..L 4 года назад

    I think this is the one most easily under understandable numberphile videos there are.

  • @reeepingk
    @reeepingk 8 лет назад +3

    The Germans also had weird rules like numbers beside each other can't be switched. A can't be B etc. That'd bring the number down a bit.
    Also the German Navy had 8 rotors instead of 5.
    If you're interested in learning more I recommend you read "The Code Book" by the owner of the above enigma machine, Simon Singh. Also "The Imitation Game" movie has a pretty decent portrayal of what happened.

  • @ValStartaker
    @ValStartaker 4 года назад +223

    "So I'm gonna type in "n" to begin with"
    james no

  • @SkifSwarogich
    @SkifSwarogich 4 года назад

    Very simply and cool! You told perfect about encryption and Enigma!

  • @raghavendraraghu4988
    @raghavendraraghu4988 4 года назад

    First time ever simple explanation about a complex machine thanks

  • @prajwaljm4207
    @prajwaljm4207 3 года назад +15

    Let's salute to Alan Turing and his team for breaking the Code.
    Legend for a reason

    • @przemyslawbak
      @przemyslawbak Год назад +1

      The first mathematicians who broke the Enigma were Polish mathematicians: Marian Rejewski, Henryk Zygalski and Jerzy Różycki

  • @unwono
    @unwono 4 года назад +30

    00:57 i can't stop laughing

  • @davidhernandez9275
    @davidhernandez9275 2 года назад +2

    It is so cool to see him so passionate about this topic! And this is such a great example on how to teach math. Storytelling and case studies. Just beautiful!

  • @James-wg8mn
    @James-wg8mn Год назад

    Amazing! The number is monumental!

  • @Morriepl
    @Morriepl 4 года назад +6

    Actually, Polish intelligence read Enigma code for years, before giving the solution to France and Britain in early 1939 - three Polish mathematicians - Rejewski, Różycki and Zygalski cracked it in 1932 and even created the machine, called "bomb", that was able to crack the daily code. Afterwards. it was easy for British to read the code during the war and work on it further.

  • @iss9875
    @iss9875 Год назад +42

    Yet again whoever talks about Enigma conveniently omits 3 polish cryptographers: Rejewski, Zygalski and Różycki. Without them Alan Touring, whom I admire very much, would probably not know where to begin.

  • @donramonramirez5141
    @donramonramirez5141 Год назад +1

    Excelente exposición, profesor 👋👋👋🇦🇷

  • @asd36f
    @asd36f 5 лет назад

    The Powerhouse Museum in Sydney has an Enigma machine, and 20 odd years I was able to visit the storage area and have a closer look at it - as a WW2 buff, it was a great thrill!

  • @unsignedmusic
    @unsignedmusic 9 лет назад +10

    The sign on the machine says to only use light bulbs with a diameter of 17 millimeters..

  • @christianaustin782
    @christianaustin782 7 лет назад +4

    Not hugely important for the purposes of the video, but the German military had a standard for the plugboards to where letters adjacent to each other couldn't be allowed to be swapped, ie you could not swap W with Q or E on the plugboard, and in all honesty that would probably significantly diminish the number of plugboard settings

  • @KlaxontheImpailr
    @KlaxontheImpailr 2 года назад

    One of my favorite book series is the ring of Fire by Eric Flint, about whole towns getting sent back in time. There’s one where a cruise ship gets sent back to Ancient Greece, I’d love to see the locals try to wrap their heads around enigma.

  • @Footprints1111
    @Footprints1111 7 месяцев назад

    This is so fascinating and also makes no sense to me. You are an incredible teacher though, and a joy to listen to! 🤩💕✨

  • @shivarampersaud2332
    @shivarampersaud2332 6 лет назад +69

    "159 million million million different combinations every day"
    -The Imitation Game
    EDIT: 3:06 - 3:10 That literally just reminded me of Christopher (The Machine)

  • @adrienloridan1764
    @adrienloridan1764 6 лет назад +19

    YOU MADE ONE BIG MISTAKE ( and a little ): You forgot the ring setting ( move the turnover notch positions) : the left-hand
    wheel is completely irrelevant, and does not enhance the key space, but 26×26 (or 676) possible ring
    settings for the middle and right-hand wheels are possible. Then out of the 26×26×26 wheel positions 26×26 are redundant, leaving 26×25×26 or 16,900 as relevant the answer is : 60 × 16 900 × 676 x 150,738,274,937,250 ( more information : Modern Breaking of Enigma Ciphertexts
    by Olaf Ostwald and Frode Weierud )

  • @mimik5856
    @mimik5856 5 лет назад +3

    Fascinating. And presented by a young smart Johnny rotten too

  • @iamwaffling5123
    @iamwaffling5123 5 лет назад +1

    I saw you in London talking about the same enigma machine

  • @benjaminhowell9014
    @benjaminhowell9014 8 лет назад +121

    This is what the movie "The Imitation game" is about

  • @aferika4841
    @aferika4841 4 года назад +5

    Kinda odd but the channel is at 3.14 million subscriber

  • @nancykemler5028
    @nancykemler5028 4 года назад

    Thank you for explaining a complicated machine and the man behind that was more intelligent and complicated.

  • @piotrszopa3356
    @piotrszopa3356 4 года назад +1

    Respect for mentioning polish mathematicians. Many people don't know about polish contribution in breaking Enigma

  • @aquawoelfly
    @aquawoelfly 10 лет назад +17

    Wouldn't it be set in german? Which has a silly looking "beta" sign for a letter.

  • @amaebarnes
    @amaebarnes 4 года назад +5

    Side note: I laughed out loud in The Imitation Game when Denniston was interviewing Turing and asked how old he is and he said 27, meanwhile Benedict Cumberbatch is clearly in his 40's 😂😂

  • @vimalmys2003
    @vimalmys2003 3 года назад

    Well explained sir

  • @thenightowldude
    @thenightowldude Год назад +1

    Germans: The Enigma code is unbreakable.
    Alan Turing: Hold my beer.

  • @hannescamitz8575
    @hannescamitz8575 8 лет назад +6

    The Enigma is obviously the perfect evidence that you should never scorn simplicity.

  • @casperf0x400
    @casperf0x400 4 года назад +5

    "That's an extra level of scrambling only available to the military"
    i love that

    • @oz_jones
      @oz_jones 3 года назад

      Yeah, it's usually how things go. Civilian GPS isn't as accurate as the military, but it's close enough.

  • @a.n.d.y.764
    @a.n.d.y.764 Год назад +4

    Enegma was fascinating but what's more astonishing is that someone found a way to break these codes of trillion probabilities within matter of minutes.thats more amazing to me

  • @gregfaris6959
    @gregfaris6959 4 года назад

    Not related directly, but there are videos where the machine is disassembled to a greater degree, including the rotors themselves. The fabrication quality of the thing is something to behold.

  • @2Sor2Fig
    @2Sor2Fig 4 года назад +2

    Hmmm... I shall now proceed to attempt to code an enigma machine in python, sounds like a fun weekend problem. Thanks Numberphile.