Slashdot Mirror


Enigma

Peter Wayner writes: "In all of the scary stories Hollywood circulates about copyright piracy, nothing could be scarier that the gang of file swapping, copyright circumventing hackers in the new movie 'Enigma'. They laugh and love a bit, but mainly they spend their time building a big whirring and clicking machine to smash a copyright protection mechanism. When the machine delivers, they put the results into a Gnutella-like file sharing system called Ultra so their friends can track down the original artists and kill them." (Read on for the rest of Peter's review.)

Ooops. Wrong generation and wrong spin. "Enigma" is about good codebreakers -- the mathematicians and clerks of Great Britain's Bletchley Park who helped the Allied cause during World War II by breaking the German coding machine known as "Enigma." It's a wonderful story that's been told as non-fiction several times before by serious historians. This time around, the former newspaper columnist Robert Harris created a thinly fictionalized novel filled with composite characters based on reality. While the result is not factually perfect, it is close enough to capture the dangerous era. Abandoning the literal truth also allowed him to build a richly plotted yarn that evolves cleanly and smoothly.

The film closely follows the novel, although it does eliminate a few of the more subtle complexities. It was wildly popular in Britain when it was released there last year, probably because the story is told with gorgeously detailed sets dressed with nostalgia for a time of British patriotism and success. The film's costumes are lavish, the extras are everywhere, and the look is close enough to reality that the best complaint one ex-translator stationed at Bletchley Park could offer was that the canteen in the film was much nicer. Even Mick Jagger, one of the film's producer, couldn't resist the spirit and gave himself a cameo appearance as an officer relaxing in a club.

This film could represent the cultural high point for codeslinging nerds and other Slashdot types. Jagger produced this film with another cultural icon, Saturday Night Live's Lorne Michaels. If you secretly spend your days dreaming of strutting around the stage like Mick Jagger, you can now take some pride in the fact that Mick Jagger spent at least a few days dreaming of playing a code geek. And why not? According to one of the characters, the women go weak in the knees when they get to talk to codebreakers like the protagonist, Tom Jericho (Dougray Scott).

This movie is about sex and mathematics and the crucial satisfaction that comes from understanding the depth of their power. The two main threads of the film track Tom Jericho's search for 1) a missing lover (Saffron Burroughs) and 2) a new way to break the Germans' four rotor, Naval Enigma system known as Shark. His lover may have been mixed up in Germany's sudden decision to abandon the old codes and all of this must be untangled or else the war could be lost. Tom Stoppard, the screenwriter also responsible for Shakespeare In Love, weaves these two threads together with car chases, kissing, train whistles, moonlit nights, illicit file swapping and a few other romantic chords.

It seems like a lot of things happen in four days, but we must remember that this plays out in an era when people weren't couch potatoes taught that ignoring advertising is forbidden. The pacing is the biggest problem with the film because there's too much action packed into 117 minutes, leaving some transitions a bit confusing. The jumps are often too quick and in some places it's hard to know when the flashbacks begin and end.

Despite that, there's much for a geek to love in this movie. Both the Enigma machine and the cryptanalytic attack developed by the British are described in fairly good detail. We learn, perhaps too quickly, that much of the game is finding a crib, a term the codebreakers used to refer to a word or phrase that must be somewhere in the scrambled message. A weather broadcast, for instance, would include the word "rainy" on a wet day and the codebreakers would examine the possible combinations that might produce that word. That was one weakness the folks at Bletchley Park were able to exploit before Jericho's girlfriend disappeared.

Some of the other mathematical details are accurate but not explained in enough detail to be easily understood. Once the crib was identified, the codebreakers relied heavily on the fact that the Enigma machine could not encode one letter into itself. This weakness allowed them to eliminate many of the potential cribs quickly. Then they spent their time looking for potential "loops" in the coding. In a simple case, a loop is formed when the letter A is encoded as an R and a few letters later, an R is encoded as an A. Most of the loops are a chain of several letters strung out in an odd combination. This pencil-and-paper work by the codebreaker is turned over to a big machine that uses the loops to eliminate many of the potential positions of the rotors. The rest are tested quickly with plenty of whirring and clicking. On a good day, and there were many of them, the right settings for the rotors popped out and let the Allies read the encrypted traffic.

You get to see all of this in action, although the film does not describe much of it in the hopes of sparing those unanointed with the knee-weakening, code smashing gene. It's not really fair for me to concentrate on the machines and ignore the actors because most of the movie revolves around the emotional battles for the characters and their conflicting desires. These passions are well-constructed and intelligently arranged. Dougray Scott plays the mathematician with enough dash and sophistication while Kate Winslet fills out the role of the mousey clerk and co-conspirator. The real star is Jeremy Northam, who plays a sophisticated Foreign Office spy with the right amount of oily charm. He, like everyone else in this movie, is fighting a private little war which may or may not fit in with the larger battle between the Allied and Axis forces.

Some of these battles are so crucial to the plot that it's impossible to comment on them without spoiling the ending. For this reason, I'm including several links for you to click after seeing the movie ( first, second, and third.) as well as a sentence encrypted with an Enigma simulator:

FBZ DDE NZA DJN PNI POH YBF NJR QFP DDZ TVP IHN YSJ IXX UAH YXF BZT ZXW BXS GES GYD IFO VXQ KHU LMA SYX YEG MGK

Using Enigma as a digital rights management device is not new-- Harris includes an encrypted dedication in the novel-- but it raises an interesting question: Is the movie and its detailed description of breaking the Enigma in violation of the DMCA? Is the extra detail in the movie just a cookbook for those who want to pirate the sentence I encrypted above? If so, should I be able to shut it down? While some reviewers may dream of writing something so powerful that it closes a movie immediately, I would hate to do it to this one. It's a pretty, nostalgic thriller that makes a good date movie--especially if you happen to be a knee-weakening, codebreaking type.

Peter Wayner's latest books are Disappearing Cryptography, an exploration about how to disguise information and Translucent Databases, a practical description of how to use encryption algorithms to protect sensitive information like credit cards and medical records. If they ever get made into a movie, he wants to be played by Keanu Reeves -- the one who played Ted "Theodore" Logan, not the one who played Neo.

18 of 312 comments (clear)

  1. Another book on the topic... by lord_dragonsfyre · · Score: 5, Informative

    ... is, of course, Stephenson's much-loved Cryptonomicon.

    I can't help thinking, though, that as much as many of us love to make the comparison, no court in America would accept that cracking enemy cyphers falls under the DMCA.

    Peace,

    James Vogel.

    --
    "I have spread my dreams under your feet, Tread softly, because you tread on my dreams." - W. B. Yeats.
    1. Re:Another book on the topic... by gosand · · Score: 5, Informative
      Not to mention Alan Turing: The Enigma by Andrew Hodges. I haven't gotten around to reading it yet, but it is sitting on my shelf just begging to be read. I have heard it is good.

      There is also a good chapter or two on the Enigma cracking in The Code Book by Simon Singh.

      The review of this movie that I saw said it was good, but not quite what it could have been, considering how incredible the actual story was.

      --

      My beliefs do not require that you agree with them.

  2. Slashdot FUD? by Chibi · · Score: 4, Insightful

    So, what's the point of using a purposefully misleading intro paragraph? Slashdot is where I learned of the acronym "FUD" ("Fear, Uncertainty, and Doubt," for those who do not know) but it seems like putting a misleading intro like this will help spread it, rather than help stop it.

    How many people do you think will only read the main page, and go away thinking it's the truth? Yeah, it's their own fault for not reading the entire story, but everyone is guilty of this from time to time.

    --
    If all you have are silver bullets, everything looks like a werewolf.
  3. Re:WTF? by gowen · · Score: 5, Funny
    God, you're an idiot.
    Thank you, Friedrich Nietzsche...
    --
    Athletic Scholarships to universities make as much sense as academic scholarships to sports teams.
  4. DMCA violation by jpm242 · · Score: 5, Funny

    You bet it is, I wouldn't be surprised if Hitler takes this to the courts!

    JP

    --
    --- Worst tagline ever.
  5. Re:interesting approach by WIAKywbfatw · · Score: 4, Insightful

    This doesn't even address the fact that comparing Gnutella users to the codebreakers in WW2 is a stretch, at best. Remember, those guys invented the computer in order to defeat Nazis. This is very different from sharing one's collection of Beck songs and downloading Simpsons episodes.

    Not that I agree with them but a great many Gnutella users think that they're using it to defeat Nazis too. It's just that their definition of Nazis is based on greedy businessmen in Hollywood rather than fascist murderers in wartime Germany.

    Oh, and by the way, the code breakers at Bletchley Park didn't invent the computer - Charles Babbage did that a great many years earlier.

    --

    "Accept that some days you are the pigeon, and some days you are the statue." - David Brent, Wernham Hogg
  6. Society Only Appreciates Scientists In Movies by GuyMannDude · · Score: 5, Insightful

    This movie may dramatize the codebreakers as sex symbols and symbols of power but this was certainly not the case in real life. Consider the case of brilliant Alan Turing. He essentially led the effort to break the Engima code. How did society repay him? He was an outcast for being an "out" homosexual. He was harrassed throughout his life (read more). The British government let the professional and personal attacks on him continue because they didn't want to reveal his role in helping to crack the code, even years after the war was over. Unable to accept the fact that the same government he did an incredible service for now actively attacked him, he committed suicide. The "we need to keep his role secret" excuse is rediculous. No one raised a stink when Churchil published his memoroirs, which were filled with sensitive material.

    I don't suppose the true story of Turing made it into this film at all.

    GMD

    1. Re:Society Only Appreciates Scientists In Movies by TrevorB · · Score: 4, Insightful

      It's very sobering to realize that many of us owe our very existance to Alan Turing.

      In the Nova special "Breaking the Code", they speculated that Turing's work probably cut WW2 down by about 2 years. My father was born in 1945, and my Grandfather fought at the Battle of Casino in Italy in 1944.

      Without Turing, my Dad might not have even been born (spare me quantum causality arguments about butterfly wings or Churchill sneezing. :)

      Turing deserves praise for his work and recognition for how he was abandoned by the UK govt, even if it's posthomously and 50 years after his death.

  7. The Real Story by instinctdesign · · Score: 5, Insightful

    I've heard good things about the film, and hopefully it will get to a screen near me. I would also highly recommend, if your interested in documentaries about the real story, Nova's excellent "Breaking the Code."

    Its really amazing some of the details that people never hear about breaking the Enigma code. One quick fact/story that I remember (obviously paraphrased and correct me if I make any errors, its been a bit since I last saw it): One of the first versions of the Enigma code that the British were able to crack, was the Luftwaffe code. How? To set up the machine to decode the enigma code, you needed to base the rotors off a three letter unencrypted sequence and another three letters that were encrypted. Unfortunately for the Germans, the operators got lazy all too often. If the first three letters were HIL, any guess what the next three encrypted were? Yup, TER, spelling out "Hitler." Other operators would use their names or their girlfriend's. It wasn't that the code was flawed, it took the German operators, inadvertently of course, to help the British break their own enigma.

    Its in many ways analogous to the great majority of system problems now, open ports, unpatched software, etc. Any system can be nearly perfect, until you add a human to run it. ;-)

    --
    forma3
  8. Alan Turing by gwernol · · Score: 5, Informative

    My biggest concern about the movie, which I haven't yet had the chance to see, is that it seems to miss out the role of Alan Turing. Turing, for those who don't know, was one of the founders of computing. He lead the team that built one of the first digital computers and developed the theoretical foundation for all of modern computing. He is an absolutely key figure in 20th. century science, perhaps as important as Einstein.

    He was also a leading figure at Bletchely Park and it is highly doubtful that Enigma would have been broken without him. If you were to single out one figure as the key to breaking the code it has to be Turing.

    So its worrying that a film of this critical moment in world history seems to muddy the role of Turing. Andrew Hodges who wrote the review I link to, wrote an excellent biography of Turing that should be required reading for anyone who considers themselves even remotely a geek. Turing achieved more in his sadly shortened life than most of us could dream of. The fact that the story of Bletchley Park has been turned into a film that excludes Turing is truly sad.

    --
    Sailing over the event horizon
  9. A few minor changes by return+42 · · Score: 5, Insightful
    Producer: What a great idea! Let's tell the story of how brilliant hackers cracked the German codes and won WWII. Oh, wait, little problem here. The chief hacker was (gasp) a poofter. Horrors! The audience won't like that!

    Writer: I know! We'll fictionalize it, then we can have a nice straight protagonist, the audience will like it, and we'll still get to tell a cool story!

    Someone way down on the totem pole: But isn't that kind of dishonoring the memory of the genius who actually did the work?

    Producer: (Hands over ears) LA LA LA LA I can't hear you...

  10. Role of the Poles by dunstan · · Score: 5, Interesting

    We Brits often complain about how war films are slanted to play up the American involvement because that's where the money for the films comes from (cf Memphis Belle). After the British release I heard an interesting radio interview where a Polish veteran was complaining about how the Poles don't get a proper share of the glory in this story.

    [minor spoiler alert] The point he was making was that not only did the Poles find the machine in the first place, but if they hadn't kept quiet about it for the duration of the war then Hitler would have abandoned Enigma much sooner, or at least have had an inkling that his communications were being intercepted. But the secrecy surrounding the codebreaking operation was so good from *all* parties that Rommel went to his grave cursing the spy who was giving away information from his signals back to Germany.

    There was an excellent series on Channel 4 about the operation about three years ago, and I would assume that it has been aired on PBS (though maybe not because it isn't exactly complimentery towards our American allies). Enigma makes the whole subject into a story, but the subject also bears telling in a documentary style.

    Dunstan

    --
    The last scintilla of doubt just rode out of town
  11. Re:Gosh, I'm glad this is about WWII... by redhatbox · · Score: 5, Funny


    "While I am sure that this serves as a terrific attention-getting device, in the future try not to have such blatantly BS and non-factual headlines. Its deception for the purpose of getting hits, something I didn't think slashdot would stoop to. And its "Bait and Switch," kinda, in that you come expecting something, see the add, then actually read something else."

    (shakes head) Funny... I actually found the intro paragraph *humorous*. Sure, it's bound to increase clickthroughs and pageviews (and bandwidth used by millions of /.ers, and the national deficit, and my dick size, errr... never mind). I say "more power to 'em", because it was meant to be funny for God's sake.

    Was the humor factor really lost on that many people? Maybe this is just Monday Syndrome.

  12. Re:interesting approach by lildogie · · Score: 4, Informative

    Charles invented the stored-program computer, but Blechley Park built the first electronic one. Theirs predated ENIAC, but it was secret, so the ENIAC builders thought they were first. See "The Code Book" by Simon Singh.

  13. Re:interesting approach by dunstan · · Score: 4, Informative

    Bollocks. The computers used *were* invented at Bletchley Park. Alan Turing invented the Bombes, and Tommy Flowers invented Colossus. And this was all years before Eniac BTW. But history missed out on this, because Churchill had everything from Bletchley Park destroyed at the end of the war - presumably to stop it from possible falling into Stalin's hands.

    Dunstan

    --
    The last scintilla of doubt just rode out of town
  14. Re:NAZI's and DMCA by Erasmus+Darwin · · Score: 4, Insightful
    "Control of the flow of information and ownership of information (and everything else) is a basic principal of any fascist state."

    And complete lack of control/ownership of information (and everything else) is a basic principal of any anarchistic state.

    Any government requires citizens to give up certain freedoms in order to exist. For example, I am generally prohibited from walking into a busy shopping mall and firing a gun into the air. The goal is to walk the careful balance between too many freedoms (allowing people to randomly shoot people on the street, allowing strangers to wander through your house at 3 am) and too few freedoms (disallowing political dissent, making all property owned by the state).

    It's unfair to reject the notion of controlling information simply because it's something that fascists took to the extreme. You're welcome to argue that the current information control in "free" countries is too far towards the fascist side, but that requires a more detailed, relative judgement.

    To further make the point, incarceration of law breakers is also a basic principal of any fascist state. And yet that doesn't make our jail system inherently wrong.

    All that being said, I do believe that the DMCA does go too far at times. I do not, however, disagree with the underlying motive of reducing copyright infringement.

  15. Read Cryptonomicon by Neal Stephenson by Jon+Howard · · Score: 4, Interesting

    It isn't a factual account of Turing's experiences, nor of WW2 in general, but it's a well-written book set during WW2 (not entirely), with a heavy focus on cryptography. The reason I bring it up is tat it is so bent on cryptography (who'd have guessed?), and Enigma has a cameo.

    Cryptonomicon is engaging, I had great difficulty putting it down, though the instructional detail used to describe various technical feats compelled me to set it aside for a minute to give them a go myself. Stephenson has a solid grasp on many technical concepts, even if he doesn't get all of them 100% correct (you'll get no spoilers from me!).

    All of that, and he even observes Turing's professed sexual preference in a much more honest (read: less inverted) manner.

  16. Re:Alan Turing by seldolivaw · · Score: 4, Interesting

    Maybe the reason so many stories seem to leave out Turing's role (Cryptonomicon is a wonderful exception) is the distasteful and appalling way he met his death. Turing was gay (and fairly openly so, for the time). The government put him through a number of disgusting "conversion therapies" (including electroshock, etc. if I recall correctly) and he eventually took his own life. It is an appalling abuse of human rights by the British government, and perpetrated against a man who single-handedly did an enormous amount to help end the war.