Lorenz: Hitler's "Unbreakable" Cipher Machine

Поделиться
HTML-код
  • Опубликовано: 28 авг 2024
  • Many people have heard of Enigma before, the code machine used by Nazi Germany to send secret coded messages. Yet, some very clever code breakers were able to break that code and read those messages!
    But there was another cipher machine used by the Germans in WWII called the Lorenz machine, and this machine was even more difficult than Enigma, and was used by the top level of the Nazi Party.
    However the code breakers at Bletchley Park broke this code too, and could read secret messages from people like Adolf Hitler himself!
    It was mathematician Bill Tutte who discovered the breakthrough that allowed the Lorenz code to be broken. On the 10th of September 2014 a new memorial to Bill Tutte is unveiled in his hometown of Newmarket. Have a look at the Bill Tutte Memorial website at billtuttememori...

Комментарии • 317

  • @mark7denzer
    @mark7denzer 3 года назад +20

    Hi. This is John Tiltman's grandson in Hawaii saying Hello, and thanks for letting these geniuses reveal to us the value of study and discipline, beyond what most of us are capable. Aloha.

    • @singingbanana
      @singingbanana  3 года назад +5

      Oh wow. That's wonderful. Thanks for watching.

    • @stevendebettencourt7651
      @stevendebettencourt7651 11 месяцев назад +2

      Does your family have any stories about what your grandfather put himself through to pull the key out of this machine? Or did he never say anything about his part in ULTRA?

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

    I think it was during a tour at Bletchley Park that I heard the funding of the Colossus was rejected because they thought it would take too long to build and the war would already be over, so Tommy Flowers built it himself using his own money. After the war he was reimbursed. I think it was £2000.
    Great story, great video. Everyone should visit!

    • @emilyscloset2648
      @emilyscloset2648 3 месяца назад

      That £108k in today's money!!!
      I mean the figure sounds right, but that is way more than people usually have in savings

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

    Astonishing that the Lorentz device is so little known!

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

      It was far rarer than Enigma. Unlike Enigma which was ultimately a perfected version of the civilian Enigma this was custom made and secret.

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

      @@florinivan6907 The code breakers had their work cut out for them. BE SAFE & WELL!

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

    I love how they spent so much time and effort to create these incredible machines and they end up being cracked because someone just gets lazy.

    • @Timmerdetimmerdetim
      @Timmerdetimmerdetim 6 месяцев назад +2

      You hide behind the word love but in fact you're feeling schadenfreude. Don't pretend.

    • @emilyscloset2648
      @emilyscloset2648 3 месяца назад +2

      As is the case in a lot of computer security.
      Humans are almost always the weakest part of the chain.
      If cyber security experts had their way, every password would be a random str of characters stored in a password vault.
      Yet people would create passwords like 12345 if they were allowed

    • @Timmerdetimmerdetim
      @Timmerdetimmerdetim 3 месяца назад +3

      @@emilyscloset2648 sure,
      and if enigma and lorenz were alive today they could be cracked by cat videos let say. Got more wisdom to spit?

    • @hillaryclinton1314
      @hillaryclinton1314 3 месяца назад

      ​@@emilyscloset2648wrong.. cyber security EXPERTS know the length of the password is more important than the complexity... The password: Thequickbrownfixjumpedoverthelazy7dog is stupid easy to remember but a super computer would churn on it until the end of the universe and not crack it 5:02

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

    I guess you could say this Athens-Vienna message was the Lorenz' rosetta stone.

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

    the inventor of the machine also deserves credit for actually creating it

  • @terapode
    @terapode 10 лет назад +1

    Fantastic. The guys working at Blechley Park during wartime were absolutely geniuses...

  • @stevefrandsen7897
    @stevefrandsen7897 6 месяцев назад +1

    They need to make a movie about this to get the recognition it deserves.

  • @MagisterMalleus
    @MagisterMalleus 9 лет назад +6

    The people who broke these codes (rightly) get a lot of glory, but what of the people who devised them in the first place? Is devising a code like this easier than cracking it?

    • @scowell
      @scowell 8 лет назад +2

      +Badatstuff The breakers got absolutely no glory... the existence of the Colossus machine was a state secret... Churchill ordered most of them destroyed, and all involved were sworn to secrecy... see, the Lorenz machines were still in use up until 1960! Tommy Flowers designed the first fully digital computer, and never got the credit... Eckert and Mauchly got the credit for Eniac instead. The information was only recently declared non-secret. AFA the inventor of the Lorenz machine, it was very derivative of the Enigma, which had been around for over a decade before WW2... inventing a breakable code does not bring glory! Read the recent book _Colossus_ for more.

  • @helloofthebeach
    @helloofthebeach 10 лет назад +66

    The visuals in this video were really well done!

    • @singingbanana
      @singingbanana  10 лет назад +4

      Hero of the Beach The bits of card?

    • @helloofthebeach
      @helloofthebeach 10 лет назад +6

      The lighting in general and also the cards, but the angled label overlays on the machine were what stood out to me. Very, very nice.
      Also, that's a really cool shirt.

    • @singingbanana
      @singingbanana  10 лет назад +20

      That all due to our filmmaker Ben.

    • @helloofthebeach
      @helloofthebeach 10 лет назад +7

      He's a heck of a guy!

    • @mciccozz
      @mciccozz 10 лет назад +7

      singingbanana That's also because you're stunning ;)

  • @jguth6
    @jguth6 10 лет назад +3

    That was so fascinating. Man those were some clever people to work that out without ever seeing a machine!

  • @McJaews
    @McJaews 10 лет назад +7

    Wonderfully produced video. I wonder though; do you write a script which you then read from during the taping, or do you simply know the progression of what you want to talk about so well that it just happens to be very fluent. What I mean is, I noticed you don't pause, or make little pause sounds like "umm". So either you're very very well spoken, or you're good at keeping one eye on cue cards and another on the lens of the camera. I ask only because I'm curious, and because I'd love to know if there really is anybody who can learn to keep such amazing consistency in their monologue when it involves delivering exact factual information like you do.

    • @singingbanana
      @singingbanana  10 лет назад +14

      McJaews This might be dull for other people. I write a script, and film it in one or two minute chunks. No autocue, I just have to remember short sections at a time. That seems to work best for me.
      Numberphile is done differently, that is just a conversation and Brady has to edit around the mistakes.

    • @McJaews
      @McJaews 10 лет назад +6

      singingbanana It's still impressive how you're able to keep the delivery so consistent:) Then again, you're a pretty bright guy:P

  • @cameronblessle2162
    @cameronblessle2162 5 лет назад +4

    A video about the Purple Code would be interesting.

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

      Pls explain? What was Purple Code??

  • @djscottdog1
    @djscottdog1 3 месяца назад +1

    I love that they figured out how the machine works without seeing it , that's pure genius grade stuff.

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

    It was subsequently found out after the war, that Colossus could also compute simple arithmetic. 2 Machines went to GCHQ, and lasted until the mid 60's

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

    Goddamn! what a great maths story! Imagining all the mathematicians, codebreaker and linguists collaborating to defeat a machine they've never even seen sounds so thrilling.

  • @alexmcgaw
    @alexmcgaw 10 лет назад +8

    Thanks for the video, it was great as always! I'd never heard of this machine, and I agree it ought to be as well known as the Enigma machine.
    I'm actually a little freaked out. I recently designed a second enigma machine in Minecraft, and it works in a way that's eerily similar to how this one works! It encodes letters into five digit binary strings (say, 10101, where '1' is on and 0 is 'off'), then the "rotors" make a sequence of decisions on whether or not to negate the signal of each number, (so say the rotors were set to YYNYN where Y = yes, negate and N = no, don't negate) then you press 10101 and return 01111, and when you think about it, all it is is a series of five XOR gates - if you think of Y as 1 and N as 0, then you can think of YYNYN as 11010, then it's just the whole "if they're different, then output 1, if they're the same, output 0", which is equivalent to the function in this machine! Check it out on my channel :)

    • @singingbanana
      @singingbanana  10 лет назад +3

      Alex McGaw That sounds very similar!

  • @zIHaXSaWIz
    @zIHaXSaWIz 10 лет назад +1

    Bletchly park has a load of amazing things from the first computers to games and evolution of storage

  • @OmegaRainbow
    @OmegaRainbow 10 лет назад +61

    wow this was _super_ interesting :D
    Thanks for making it!

  • @LordBax
    @LordBax 10 лет назад +3

    Great video. It's a shame that these great mathematicians didn't get the credit they deserved when they achieved these feats but that's the cost of secrecy. Videos like this help show the unsung heroes of wars.

  • @TommiHimberg
    @TommiHimberg 10 лет назад +1

    Great explanation of how the Lorenz cipher machine worked and how it's code was broken by British mathematicians. Good stuff!

  • @etunnystory5735
    @etunnystory5735 9 лет назад +3

    I just knew the Lorenz was far more important. I was sooo pleased to see another recognition for Tutte and Tunny story made! Well don Dr James Grime. I believe Lorenz story will equally get the recognition as Enigma, hopefully one day soon, if the media out there work hard on it.

  • @AlanKey86
    @AlanKey86 10 лет назад +38

    Fascinating video Jim!
    I'm intrigued by what you said about the psi wheels at 3:55 - "They don't move with any regular pattern". You explain they're controlled by the 2 motor wheels in the middle. Are those 2 motor wheels generating random motion? If so, how do they do it?

    • @singingbanana
      @singingbanana  10 лет назад +27

      AlanKey86 Yup, so the motor wheels also have pins on the outside. The first mu wheel has 61 pins (and so has a rotation of 61), and the second mu wheel has 37 pins (and a rotation of 37). Each pin can be set to on or off, so you can create a fairly random string of on and offs as the wheels move.
      The first mu wheel moves for every character. If the pin on the first mu wheel is switched on, it will move the second mu wheel. If the pin on the second mu wheel is switched on, it will move the five psi-wheels.

    • @rebmcr
      @rebmcr 10 лет назад +21

      singingbanana
      I guess it's no coincidence that 41, 61, and 37 are all prime? Perhaps you could do a Numberphile at some point about exactly why that's significant? Would a 36-pin wheel be really easy to decode because of all its factors?

    • @singingbanana
      @singingbanana  10 лет назад +34

      rebmcr Yup, the wheel rotations were coprime giving the longest possible rotational period. I didn't have time to include good stuff like that.

    • @QuantumFluxable
      @QuantumFluxable 10 лет назад +7

      singingbanana You really should make a video about that though, I am currently reading "Cryptonomicon" and it was explained in a really nice way in that book.

    • @soysauceichthys9112
      @soysauceichthys9112 10 лет назад +3

      ALAN

  • @veni.vidi.reliqui7946
    @veni.vidi.reliqui7946 10 лет назад +1

    I never dreamed that code making and breaking was so sophisticated for its time period! Thanks for another interesting video!!!!!

  • @sutematsu
    @sutematsu 10 лет назад +11

    Love this video! James Grime is my favorite mathematician; he's the only one I learn anything from. >_

  • @HeyRoolax
    @HeyRoolax 10 лет назад +3

    4 months, sir, 4 months... Kept me waiting. Anyways - to me this has been one of your best videos!
    I´ve watched carefully all of your videos about code breaking. I´ve even watched your whole 50min presentation about Enigma. Man, you´re good at getting young lads like this kid over here encouraged into learning all sorts of new stuff in our spare time.
    So, let me tell you: I´m a fan.

    • @singingbanana
      @singingbanana  10 лет назад +6

      ***** That's why I do it! Thank you!

    • @HeyRoolax
      @HeyRoolax 10 лет назад +1

      Maybe someday I´ll actually grow enough courage to make my own educational videos. That´d be fantastic! Thank YOU.

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

    Those Bletchley Park guys were just brilliant!

  • @toshineon
    @toshineon 10 лет назад +3

    Great video. I love mysterious World War 2 technology like this.

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

    8 dislikes? They're probably from IBM.

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

      for real.... why on earth could/would you dislike a clear explanation of a very complicated process????

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

      Every single video on youtube has at least a tiny amount of dislikes. I think there might be a few number of bots that auto dislike a lot of things.

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

      Dislikes probably comes from Sweden.
      The mathematician Arne Buerling solved the first two versions of this machines with paper and pencil.
      Then the result was flown to England.
      No comment of that would give a thumbs down...

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

      @@perolovson1715 Arne Beurling is most famous for breaking the Siemens und Halske T52 which was a different machine used in the same network. This was an amazing accomplishment though, and definitely deserves a mention. FRA also broke the Lorentz in 1943.

  • @kwikstro
    @kwikstro 10 лет назад +4

    Awesome video, as per usual. I had a question though: do You (or anyone) know of any "Lorenz machine simulators" for the computer? I have seen a few before, but they seem outdated now. Would be fun and interesting, and potentially raise a bit of awareness too!

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

    Amusingly, this is exactly how certain piece of ransomware worked just a while back.

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

      That one turned out to be fairly easily cracked by anyone with a backup of any single file encrypted by the program since the key = original XOR encrypted.

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

    Nice to watch this after hearing you talk about it in person. Well presented and explained!

  • @MirekHeikkila
    @MirekHeikkila 9 лет назад +3

    I loved this video! I think i was in a trance, great production, info, learned alot!, and you got all that in 12 minutes! I wouldn't mind longer videos even, not at all.. tnx to all those that were sworn to secrecy and you bringing light to some of there achievements!

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

    I am now a little upset with the education system. I had been taught that Colossus was built to decode enigma not lorenz. Thank you Dr. Grime for educating the masses.

  • @buschtoens
    @buschtoens 10 лет назад +1

    Wonderfully done! Thank you so much for your constant quality content.

  • @reasonandevidence
    @reasonandevidence 10 лет назад

    Was worried that you had stopped uploading more videos. Glad to see a cool new video after 4 months.

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

    I lost him after the second sentence. What extraordinary men they were. A few years ago there was an empty plinth in Trafalgar Square, which they wanted to put a statue on, but couldn't think of who to put on. Considering this nation has a few million worthy of the honour, I can't understand why they put the person on they did (another story) however, I wrote and suggested Tommy Flowers. I did not get a reply and Tommy never went on, as we don't celebrate genius anymore, we celebrate diversity instead.

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

    If you visit The National Museum of Computing you can also see Colossus which was used to work out the wheel positions. No need to pay entry to Bletchley Park.

  • @HankTaylor
    @HankTaylor 10 лет назад

    Hadn't heard of the Lorenz machines/cipher before - thanks! The video/presentation was fantastic, too!

  • @dominickrinaldi6727
    @dominickrinaldi6727 10 лет назад +2

    Absolutely Amazing! I love stuff like this and I am going to share this with all my friends, we are all huge math/code/numbers guys.

  • @StormCoreFilms
    @StormCoreFilms 10 лет назад +18

    Yay! You're back! :D

  • @jonathanfowler2932
    @jonathanfowler2932 10 лет назад

    Don't see many videos with like: dislike ratio 1000. Well earnt James. Great info.

  • @Dsiefus
    @Dsiefus 10 лет назад

    Woo, I was at Bletchley Park last week, and now you post this, just perfect. I didn't have the time/will to read about the Lorenz there so thanks. By the way, was it closed when you did the video? It's surprising noone's there.

    • @singingbanana
      @singingbanana  10 лет назад

      dsiefus No they didn't close it off. But we filmed first thing in the morning, and it takes people sometime to reach the Lorenz bit. We finished around 11.30 and there was a crowd by then.

  • @SilverAppleMan
    @SilverAppleMan 10 лет назад

    Thank you Dr James, great video! I'm much obliged with you and Brady Haran for making me love Maths again:) school destroied my passion for sience, phisics and maths but people like you and other professors at the university of Nottingham lightened it again :)

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

    As soon as all this corona malarkey is out of the way and the place opens up again, I can't wait to plan a visit to Bletchley Park.

  • @donstratton4247
    @donstratton4247 8 лет назад

    the purchasers that paid nine and a half pounds for a lorenze code breaking machine from someone who didn't know what he had should be ashamed for taking advantage of this person.

  • @Alchete
    @Alchete 10 лет назад

    Wonderful video and explanation. It's incredible what the code breakers were able to accomplish with mostly pencil and paper. Thank you for the education!

  • @jaffachef
    @jaffachef 10 лет назад +3

    Awesome video. Is it for something else? Cause it seems VERY professional

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

      Yakul I just had help. I'll probably be back to filming in my living room soon.

  • @BlackBobby69
    @BlackBobby69 10 лет назад

    At 1:32 you mention that the machine would add a random letter. I think the whole point is that the letter was not actually random, but chosen by the algorithm of the wheels. If it were truly random the code would be unbreakable (basically a one-time pad). Thank you for the interesting topic though, never heard of this machine before.

  • @Greywolf3
    @Greywolf3 10 лет назад

    Thank you, I had not heard of the Lorenz machine before - fascinating!

  • @mattsains
    @mattsains 10 лет назад

    Great video. I prefer your appearances on your own channel than on Numberphile

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

    Imagine if someone was up late working the night before (and sleep-deprived) and then watched this video and nodded off during the middle, waking up just in time to hear "if you have been, thanks for watching." No "you're welcome" needed in that case, I suppose!

  • @fsmvda
    @fsmvda 10 лет назад

    The crazy thing is that the cypher it used, the one time pad, creates perfect secrecy. If they had never encoded two messages with the same key it would have been impossible to crack. What I'm really impressed with is that the code breakers knew to try the OTP having seen only the coded messages.

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

      +fsmv _"The crazy thing is that the cypher it used, the one time pad, ..."_
      It was not a one-time-pad; the key would repeat. The period was very long, but it did repeat.

  • @WintersunForever
    @WintersunForever 10 лет назад

    Wonderful video Dr. i enjoy you most of all on numberphile, you make abstract math(s) etc fun to listen to and practice.

  • @myName-dg2qm
    @myName-dg2qm 10 лет назад

    This is awsome! At my level of competency I can understand about the narrowing down to rules of enumeration to isolate the set in which the solutions are, and the non-carry binary addition in the key and its cancelation jumped out at me. Great video!

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

    Well done James Grime! But you did not mention a great man Captain Jerry Roberts, who was a leading Lorenz codebreaker by at Bletchley Park, he worked closely with Bill Tutte. I have heard his told at BP since 2007, and many of his other talks.
    For more details about Lorenz story, please watch Captain Jerry Roberts’ talk at UCL 2008. Capt. Jerry Roberts: My Top Secret Codebreaking at Bletchley Park 1941 to 45 also in his another video clip he was in 2010: Capt. Jerry Roberts: I broke Hitler's top-secret Lorenz code, at Bletchley 1941-45

  • @danielbingham9353
    @danielbingham9353 10 лет назад

    absolutely fantastic video as always, the maths involved in cryptography always baffles and interests me, your talk on the enigma machine and this video have been absolutely fantastic

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

    The Lorenz was also the basis for immediate postwar wheel-based cypher machines used by the British and the Russians....some say until the 1960s. The breaking of it was so secret and the Colossus2 machines that did the job were destroyed on Churchills orders, except for 2 units which were sent to GCHQ and used with modifications to decode the Russian machines.

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

    A nice video on a subject I find endlessly fascinating. Thanks.

  • @vampire_5785
    @vampire_5785 10 лет назад

    I don't even understand math, but this was pretty damn cool

  • @jeremycurle6880
    @jeremycurle6880 9 лет назад +2

    I love your videos. i am in 6th grade and I am very smart I like your videos they teach me interesting stuff not just boring crap I already know like in school. I just want you to make more videos!

    • @jeremycurle6880
      @jeremycurle6880 8 лет назад

      it really doesnt matter what people know my age like what are they even gonna do w/ it. "Whoa, this person's 13 years old! That means I can... idk..."

    • @jeremycurle6880
      @jeremycurle6880 8 лет назад

      Again, I just don't see the point in not telling my age

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

    All true, but the hand / letter/ language skills were always necessary to generate a break, to then exploit via colussus

  • @altrogeruvah
    @altrogeruvah 10 лет назад

    That was a beautiful video, absolutely intriguing and learned many things from it. Thank you so much, James.

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

    So the Lorentz machine used a simple XOR cipher (essentially a one-time pad, but reused).

  • @SQuark
    @SQuark 10 лет назад

    Really interesting. I didn't know about the Lorenz machine.

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

    Summary for non-cryptography fans
    1.There are 5 right wheels called Chi-wheels.They move with every keypress.
    There are 5 left wheels called Psi-wheels.They move when the Mu wheels told them to.
    There are 2 middle wheels called Mu-wheels.They move with every keypress.
    2.Each letter has 5 symbols,either cross or dot.
    3.Plaintext letter+Key letter=Ciphertext letter
    Here is how.Each symbol of PL adds with each symbol of KL.
    If both symbols are the same,it is a dot.If both symbols are different,it is a cross.
    4.Lorenz cipher is a symmetric cipher.It means enciphering the ciphertext recreates the plaintext.

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

    why would anyone dislike this.

  • @razean22
    @razean22 10 лет назад

    Great video! Would have been nice if you'd have explained how the machine was operated, especially since it looks like there is a lot more automation than with the Enigma (coils, a gauge, etc.)

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

      The Lorenz machine was attached to a regular teleprinter, so you set up the Lorenz machine for enciphering, and typed your message into the teleprinter. The recipient's teleprinter had a Lorenz machine with the same settings, so it decoded automatically and its teleprinter produced the original message. Unlike the Enigma machine, neither person ever saw, nor needed to see, the enciphered version of the message. You could also prepare your message on punched tape and feed that through the teleprinter on 'auto' mode. The error that the Lorenz operator made came about because 4000 characters is quite long to have to type in all over again. It was poor atmospheric conditions that caused the operator to have to send the message again, and it was actually because he changed the message a little bit that Tiltman was able to disentangle them.

  • @cupcakeinacid5546
    @cupcakeinacid5546 10 лет назад

    This video is simply brillent! Great job James! (the "brillent" was on purpose")

  • @Zimpfnis
    @Zimpfnis 10 лет назад

    That was very interesting, thank you. How come the look of your video has changeant so much? I like this super professional look:)

  • @capitalex5422
    @capitalex5422 10 лет назад +11

    Actually 6.5x10^150 would only have 149 zeros since the number has a 6.5 => 6.5 x 10^150 => 65 x 10^149

    • @singingbanana
      @singingbanana  10 лет назад +36

      CAPITAL EKS By "zeros" I mean anything after the first digit.

    • @capitalex5422
      @capitalex5422 10 лет назад +1

      singingbanana
      Oh, my bad.

    • @Somerandomdude-ev2uh
      @Somerandomdude-ev2uh 10 лет назад +2

      DiEvAlDiEvAl it is if you round to 1 sig fig

    • @DorFuchs
      @DorFuchs 10 лет назад +15

      Actually 2^501 = 6546781215792283740026379393655198304433284092086129578966582736192267592809349109766540184651808314301773368255120142018434513091770786106657055178752 has only 16 zeros in it :D
      www.wolframalpha.com/input/?i=DigitCount%5B2%5E501%2C+10%2C+0%5D

    • @Somerandomdude-ev2uh
      @Somerandomdude-ev2uh 10 лет назад +1

      DiEvAlDiEvAl an end can be of any size

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

    Werent the Z3 the first computer?!

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

      It's just like the telephone: every country has a different first which happens to have been developed by someone from that country. So yes, in Germany the Zuse Z3 is officially the first computer but in the rest of the world it isn't.

    • @sheridanwilliams7624
      @sheridanwilliams7624 6 лет назад +2

      The first computer was Babbage's Analytical engine, but was never built. The Z3 could not do conditional branching.

  • @MarioFanGamer659
    @MarioFanGamer659 8 лет назад

    Thechnically, computers are anything which can calculate, compute stuff (hence the word "computer") and doesn't even need to be electrical (like Matt's domino calculator). In some languages, the words "to calculate" and "to compute" translates to only one word and/ or the language only has imported one of both word. A double example in German: "to calculate" and "to compute" translates to "rechnen" (the German, non-lean word for computer is called "Rechner" and a pocket calculator is called "Tachenrechner" there) and its prefixed variations or the Germanised word "kalkulieren" but "computieren" (and "komputieren" for the matter) doesn't exists (yes, we have imported the word "computer" but I talked about the verb).
    As such, code machines are machinal computers as opposide to our mostly electrical computers and they were much older ones, excluding brains.

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

    The Nazi's are famous for their complicated code machines. This makes me wonder, did the Allies have code machines of their own? If so, how did they work, and why don't we hear more about them?

    • @landonkryger
      @landonkryger 10 лет назад

      I just remembered that we had the Navajo code talkers. I still wonder if this was all.

    • @singingbanana
      @singingbanana  10 лет назад +10

      Landon Kryger The British had TypeX and the US had SIGABA. Both were Enigma rip-offs. They were harder to break than Enigma because the rotors moved more frequently or less predictably. They were not broken by the German, but they had different priorities. Enigma is now famous because it was broken.

    • @apburner1
      @apburner1 10 лет назад +1

      Because we won and the winners tend to not give up all of their secrets, especially considering we were aware we would be entering interesting times with the Soviets.

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

      +singingbanana _"The British had TypeX and the US had SIGABA. Both were Enigma rip-offs."_
      I don't know much about TypeX, but SIGABA was definitely not a ripoff of Enigma. About the only thing they had in common was that they used rotors, and Enigma was not the first rotor machine.
      SIGABA had 15 rotors. Five were used for encryption. The next five produced signals that were fed to the third set of five, The output of the third set controlled the rotation of the encrypting rotors.

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

      One of the staff at Bletchley Park told me that TypeX was indeed a ripoff of Enigma, and the British feared violating patents even though the war was soon to breakout :P

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

    that's basically xor cypher before computers

    • @DaffyDaffyDaffy33322
      @DaffyDaffyDaffy33322 8 лет назад

      +Franc[e]sco The lorenz machine might be a computer, depending on your definition.

    • @scowell
      @scowell 8 лет назад +2

      +DaffyDaffyDaffy33322 Not in the slightest... purely mechanical sequencer. It could do nothing but scramble.

  • @xanokothe
    @xanokothe 10 лет назад +1

    4 months without post? No more vacations for you...

  • @Quintingent
    @Quintingent 10 лет назад

    Heh, I''ve seen Colossus, and it's pretty impressive. But the ingenuity of those code-breakers is, in my opinion, a little bit more impressive.

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

    Excellent explanation

  • @TVFILMBUFF
    @TVFILMBUFF 10 лет назад

    It all became trivial when the British realised the Nazis were sending messages in German.

  • @jagc1969
    @jagc1969 10 лет назад

    Awesome video. Very interesting and very well done. Thanks for sharing it with us.

  • @esuelle
    @esuelle 10 лет назад

    Great video! I really enjoy the work you do, it's really interesting.

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

    Hey dude, this is the best youtube video ive watched today. Awesome info !

  • @Sanulay
    @Sanulay 10 лет назад

    I just had to watch this video after this machine was mentioned during that lecture in Jyväskylä. You may remember me as the girl who made the Vulcan salute.

    • @singingbanana
      @singingbanana  10 лет назад

      Sanulay Hey. And did you find my Star Trek video too?

    • @Sanulay
      @Sanulay 10 лет назад

      singingbanana Yes. That video felt a little familiar so I might have watched it a long time ago already. Not that I mind - it was pretty interesting. I love all kinds of in-depth analysis of my favorite TV shows.

  • @DanielBeecham
    @DanielBeecham 10 лет назад

    I was waiting for the "...but they made one fatal flaw!"-part.

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

    Anyone else notices the swatsika?

  • @jacklavelle1551
    @jacklavelle1551 10 лет назад

    great production value, keep it up!

  • @lyravega6577
    @lyravega6577 10 лет назад

    Thanks man. Love your content :) Been a while now.

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

    wow this was super interesting :D Thanks for making it!

  • @jerklecirque138
    @jerklecirque138 10 лет назад

    The Lorenz machine cipher is quite similar to the one-time pad.

  • @prawnrao97
    @prawnrao97 10 лет назад

    James love the videos! :D
    Please do continue to post them! :D

  • @McTheWarhammer
    @McTheWarhammer 10 лет назад +1

    Great job! Very professional.

  • @biffa28
    @biffa28 10 лет назад

    The name lorenz rings a bell in my mind. Did he also have something to do with fractals?

  • @JohnDlugosz
    @JohnDlugosz 10 лет назад

    I saw a documentary on Tutte and Flowers not too long ago.

  • @LaMaisondeCasaHouse
    @LaMaisondeCasaHouse 10 лет назад

    In Simon Singh's "The Codebook" he talks about something else the Germans used, called a "One-time pad cypher" which is apparently unbreakable, but also very impractical. Could you maybe do a follow-up video on that?

    • @singingbanana
      @singingbanana  10 лет назад +6

      LaMaisondeCasaHouse I've done something on it before The curious case of the WWII carrier pigeon and the unbreakable code

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

      Now that's what I call prompt service! TY!

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

    Swedish matematician Arne Beurling broke this machine in two weeks using pen and paper in 1940.

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

      That was the T-52, a different machine. Those messages were sent my landline, through Sweden, rather than radio. However, most of those messages were also sent by Lorenz, which was easier to break.

  • @sergeyrink3003
    @sergeyrink3003 5 месяцев назад

    There was an even easier way make the code unbreakable. German genius was put to shame.

  • @alandouglas2789
    @alandouglas2789 10 лет назад +1

    Fantastic video,
    Goes to show the extreme end of the most complex codes and ciphers ever made to send a message, and, the great minds who solved the mystery behind the pattern.
    I only have one question,
    What do you do if you want a space, such as between the words? does it generate a random letter? and does it also make random spaces in the codes?

    • @singingbanana
      @singingbanana  10 лет назад +2

      Alan Douglas I think messages were sent as normal, including spaces. A space is five dots. If you add a key letter, say K, to five dots you get the letter K itself. If, by coincidence, the key letter and the message letter are the same they would cancel each other out and give you five dots (a space) - which would happen around 3% of the time (1/32).

    • @alandouglas2789
      @alandouglas2789 10 лет назад

      singingbanana I've got two different images for a space,
      1. *original message: "Hey.....(k)James"* the code would be something like: "Tkx(k)Wdyvl" - the 5 dots plus a key (k), making k represent a space without the parentheses of course
      2. *original message: "Hey James"* the code would be something like: "Tkx.....Wdyvl" - 5 dots = a space
      I'm probably way off track

    • @SkyrimHod
      @SkyrimHod 10 лет назад

      singingbanana
      Seems like that would be a very bad idea. Since the message would have so many spaces at somewhat regular/predictable intervals, wouldn't that make it easier to figure out the key(especially if there was some standard format for messages so you KNEW where a space should be? And every time you see a space, you'd know that letter matched the key, so you'd be able to work things out from that as well. You'd still have to have figured out a lot of how the code works for that to be useful, but seems like it would be giving a lot of potential information.

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

      singingbanana Indeed spaces were included, messages were sent by telex machines, so they also could use interpunctuation and numbers. Now this was a little problematic, a 5 bit code can only represent 32 different codes, and 26 letters, only upper case, 10 digits, a bunch of interpunctuation and special chars simply doesn't fit into a 5 bit code. So there were two extra keys, one LS, for letter shift, and on FS for figure shift, but those two keys didn't affect the sending machine, instead they shifted the printing wheel on the receiving machine, FS shifted it to print numbers, punctuation and special chars and LS shifted the wheel back to letters. Now disturbances on the line could cause a shift to FS, and all the following characters would be more or less unreadable, the sender wouldn't notice but of cource he would try to avoid this or at least minimize the consequences. Operators had come up with a trick, also civilian operators, they added to every space a LS, this way only one word would become garbage and that was easy to fix by looking in the telex code table. So in addition to spaces in the text there were digraphs, lots of them. This was used by Swedish code breakers tapping land lines used by the Germans in Norway to break the Siemens T52ab machine. There's some ifo on those links on that.
      cryptocellar.web.cern.ch/cryptocellar/ulfving/ulfving.html
      cryptocellar.web.cern.ch/cryptocellar/pubs/sturgeon.pdf

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

      Håkan Bergman Thanks for this info. I'll check it out.

  • @ArtArtisian
    @ArtArtisian 10 лет назад +1

    I love this old cryto stuff. Much fun is had, and it's a great way to be introduced into the modern setup of things. I'd love to see more =)

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

    BEST ONE YET - THANKS

  • @otonanoC
    @otonanoC 10 лет назад

    "XOR padding", like the Lorenz used, is fatally broken by using the same key again on two different texts. Today we use nonces to avoid this.