Slashdot Mirror


A 1941 Paper-and-Pencil Cipher

Schneier's blog links to a photo of a 68-year-old code being employed in wartime, with a plausible explanation of what is going on in it. (The photo is from the Life Magazine archive we discussed when it went live.) "What you see here is a photo that never should have been allowed to be taken, and one which provides an amazing, one-of-a-kind glimpse into the world of WWII espionage and counter-espionage. As far as I can tell, what is shown in this picture is an FBI agent in New York encrypting a message, passed from 'DUNN'... through Sebold, prior to transmitting that message to Germany via shortwave radio. ... [T]his appears to be real cryptology at work."

75 comments

  1. Duh? by east+coast · · Score: 5, Funny

    Why didn't he just use a computer for this? I swear, those people were so dense.

    --
    Dedicated Cthulhu Cultist since 4523 BC.
    1. Re:Duh? by bobdotorg · · Score: 5, Funny

      Why didn't he just use a computer for this? I swear, those people were so dense.

      They weren't dense, Windows DE (Depression Edition) kept crashing that day with repeated PCODs (Punch Cards of Death).

      Though now that I think about it, I've come to the realization that every version of Windows is Windows DE.

      --
      __ Someday, but not this morning, I'll finally learn to use the preview button.
    2. Re:Duh? by Anonymous Coward · · Score: 1, Funny

      They weren't dense, Windows DE (Depression Edition) kept crashing that day with repeated PCODs (Punch Cards of Death).

      And 60 years later, we realize that even in the future nothing works.

    3. Re:Duh? by Anonymous Coward · · Score: 5, Informative

      Actually, back then he probably was the "computer."

      It had a definition before we invented the machines.

    4. Re:Duh? by corsec67 · · Score: 3, Informative

      Punch Cards of Death

      Would that be a IBM Doily?

      --
      If I have nothing to hide, don't search me
    5. Re:Duh? by VagaStorm · · Score: 3, Interesting

      Oh, indeed, http://en.wikipedia.org/wiki/Human_computer, they even did parallel computing :)

    6. Re:Duh? by timeOday · · Score: 3, Informative

      Why didn't he just use a computer for this?

      Actually he was a computer - that's what they called people who did mundane computations before machines took over their job.

    7. Re:Duh? by Sanat · · Score: 5, Interesting

      Back in the day of card punches in order to certify that a card punch was working properly a whole box (qty 2000) cards were fed, punched and read with only one error permitted. This was CDC equipment on the CDC 3100 and 3200 models.

      If something was not quite adjusted properly usually a failure would occur much earlier in the cycle.

      Sending out a new operating system was done with punch cards. A simple bootstrap program was keyed into the core and executed which would input from the card reader and a whole box of cards needed to be read without error.

      The CDC card punch (can not remember the model number ... maybe 3114) also had a read station in it so that a read after write cycle could be employed. The error exit could be used to offset the card in the output deck about 1/4 of an inch so that the individual card could be easily located and re-punched.

      Reading a lace card was a real dicey test. Usually we alternated rows and columns.

      PCOD sounds about right.

      --
      And in the end, the love you take is equal to the love you make
    8. Re:Duh? by dpilot · · Score: 1

      > Reading a lace card was a real dicey test.

      I thought lace cards were what you stuck in the decks of other people in the computer lab, not your own. Kind of like "How many med students does it take to screw in a light bulb?"

      Caveat: I have done real work with punch cards, I even made a lace card for the fun of it, and to see how fragile it was. But I have never stuck such a card anywhere where it could be fed into a reader.

      --
      The living have better things to do than to continue hating the dead.
    9. Re:Duh? by z-j-y · · Score: 1

      Actually he was a computer - that's what they called people who did mundane computations before machines took over their job.

      I doubt that his job was mundane or his title was "computer". Cryptanalysis is more than just some algorithms, you cannot crack the codes by using computers (meat or electronic) alone without human insight and intelligence(which we don't know how to program yet)

    10. Re:Duh? by troll8901 · · Score: 1

      Just read this TFWA. Score one for women!

      Have I mentioned I worship smart, intelligent women?

    11. Re:Duh? by Anonymous Coward · · Score: 0

      Oh, indeed, http://en.wikipedia.org/wiki/Human_computer, they even did parallel computing :)

      a la mechanical turk?

    12. Re:Duh? by elgatozorbas · · Score: 0, Redundant

      Imagine a Beowul cluter of these...

      Oh wait. It's called college.

    13. Re:Duh? by laddiebuck · · Score: 1

      I never knew that "dual-core computer" was a sexual fantasy before it was a geek term...

      (Well, I did know, but that'd spoil the joke... All right, here's another one: why the teacher fantasists? Well, half secretary, half nurse...)

    14. Re:Duh? by Hurricane78 · · Score: 1

      Eww... your sexual fantasies about two-headed humans are disgusting... :P

      --
      Any sufficiently advanced intelligence is indistinguishable from stupidity.
    15. Re:Duh? by CrossChris · · Score: 1

      He didn't use a computer because the Americans were too thick to develop one. We had them in the UK more than a year before that photograph was taken!

    16. Re:Duh? by Reziac · · Score: 1

      I still have a couple of lace cards Here Somewhere, from high school... dunno who made them, but they floated around our computer programming class.

      I remember when we got a paper tape reader... it was a big upgrade over loading our IBM1620's OS from punch cards!

      --
      ~REZ~ #43301. Who'd fake being me anyway?
    17. Re:Duh? by srmalloy · · Score: 1

      I thought lace cards were what you stuck in the decks of other people in the computer lab, not your own. Kind of like "How many med students does it take to screw in a light bulb?"

      As I recall, the most entertainment with punchcards wasn't slipping lace cards into someone else's deck, but in taking blank cards, punching them as an 80-column 'DUP' field, and sticking them onto the program drums of the IBM 029 keypunch machines, then flipping the program mode switch to 'ON'. An unsuspecting user sitting down to punch out some cards for their FORTRAN program without noticing either the program card or the switch position would punch their first card normally, then as soon as it registered the card under the read station it would start duplicating the first card as fast as the punch would run -- and then feed the duplicate to the read station and repeat the process until the user either flipped off the program switch or pulled the blank cards out of the hopper.

  2. Human computers by El+Lobo · · Score: 5, Insightful

    More than 13 000 special trained persons worked with encryption/decryption related tasks in WWII (and that's allies only). Yes, there were no computers then the way we know them now, but 13 000 people working shifts day and night was a significant force as well.

    --
    It's time to realise that Abble's products are the biggest abomination these days. Just say NO to the dumb iAbble way!!
    1. Re:Human computers by Linker3000 · · Score: 5, Funny

      Wow - imagine if those people clustered around someone reading Beowulf!

      --
      AT&ROFLMAO
    2. Re:Human computers by Anonymous Coward · · Score: 0

      Even better -- can you imagine if this piece of paper could run Ubuntu Linux?!

    3. Re:Human computers by memristance · · Score: 5, Funny

      Of course, some methods were better than others...

    4. Re:Human computers by estarriol · · Score: 1

      Funniest Slashdot comment I've ever seen, thanks!

    5. Re:Human computers by lysergic.acid · · Score: 5, Funny

      speaking of which, here's a screen shot of an early pre alpha build of the Folding@Home client.

    6. Re:Human computers by aliquis · · Score: 1

      Ah, I see their problem, they all seem to use the same algorithm but it always generates the same result. Personally I go with a more randomized approach.

    7. Re:Human computers by Anonymous Coward · · Score: 0

      Wow - imagine if those people clustered around someone reading Beowulf!

      Made me blow soda out my nose. Worth it, though.

    8. Re:Human computers by Anonymous Coward · · Score: 0

      I think you Sir just won Slashdot

    9. Re:Human computers by trevdak · · Score: 1

      I'd like to see them run linux.

    10. Re:Human computers by BlueStrat · · Score: 1

      Wow - imagine if those people clustered around someone reading Beowulf!

      Yes, but did they use Linus' great-great grandfather to organize the operation?

      --
      Progressivism (aka US 'Liberalism'): Ideas so good they need a police/surveillance-state to enforce.
    11. Re:Human computers by Anonymous Coward · · Score: 0

      You are a fucking idiot! And the sad thing is, you will just dismiss this comment out of hand, because of stupid human ego. Look in the mirror. Think about what you wrote. Think about your LIFE, for fuck's sake. Doesn't ANYONE engage in introspection anymore?

      And before you say it, yes, I have done the same thing. My comment here is dickheaded, just like me. But I REALIZE it.

    12. Re:Human computers by 3waygeek · · Score: 1

      Not counting this guy.

  3. Very cool! by vvaduva · · Score: 1

    Very cool; this is handy for beginning students and those keeping a history of cryptography, which boomed starting with WWII.

  4. Double bluff by adamwright · · Score: 5, Insightful

    We may consider, however, that the people allowing the photograph to be taken may not have been *entirely* honest when setting up the contents and cryptographic "method" being demonstrated.

    1. Re:Double bluff by Anonymous Coward · · Score: 0

      If you RTFA, that's very unlikely. The photo the blogger says "never should have been allowed to be taken" shows a message using real codewords of an actual (flipped German) spy ring. So if the Germans got their hands on this photo and compared it to the messages they received, they would have realized it was a double cross. And the historical record bears out that this was a successful double cross that we would not have wanted to reveal.

    2. Re:Double bluff by devnullkac · · Score: 4, Informative

      There is another picture with the same message apparently being approved by Hoover. It also shows most of the text so carefully covered up in the photo in TFA. Part of it is in shadow and perhaps someone more skilled than I with GIMP can tease it out (frankly, I think you'll need access to the photographic negative), but "... the following message to:" is what's visible. This lends credence to the "setup" theory, since that's hardly worth covering up for a photo op and even if it were, why be so careless as to reveal it in another photo (on J. Edgar Hoover's desk, no less).

      --
      What do you mean they cut the power? How can they cut the power, man? They're animals!
    3. Re:Double bluff by mlwmohawk · · Score: 4, Insightful

      You are working on the assumption that what you see is an authentic photo of someone actually working.

      If you have any professional experience at all, you'd know that pictures are NEVER taken of actual work. The photos are always staged to look good.

      Be it a technician posing in front of the product with tools, an engineer posing in front of an oscilloscope with an interesting wave form displayed, another engineer in front of a very neat and orderly (but complex looking) white-board, and so on. Every company in which I've worked, the arrival of a photographer is carefully orchestrated.

      All pictures have a perspective and something that the photographer's employer wishes to convey. It is very likely that the picture is a standard professional photo that shows "what it looks like" without showing actual work. The words chosen carefully to spark interest in the subject by those who view it. Like now.

    4. Re:Double bluff by argent · · Score: 3, Insightful

      You are working on the assumption that what you see is an authentic photo of someone actually working.

      It doesn't matter whether it was staged or not, it only matters that it contained code words relevant to what we now know was an active intelligence operation at that time it was taken.

    5. Re:Double bluff by mlwmohawk · · Score: 1

      It doesn't matter whether it was staged or not, it only matters that it contained code words relevant to what we now know was an active intelligence operation at that time it was taken.

      Of course the words are relevant to what we know, we know the information we are allowed to know. This picture is no different.

    6. Re:Double bluff by Anonymous Coward · · Score: 4, Insightful

      Of course the words are relevant to what we know, we know the information we are allowed to know.

      You're just being a jackass. His point is that if the information was such that the Germans could have deduced that they were being double-crossed then it makes no difference in the world if it were staged or not. It's still a blunder.

    7. Re:Double bluff by westlake · · Score: 4, Informative
      If you have any professional experience at all, you'd know that pictures are NEVER taken of actual work. The photos are always staged to look good.

      LIFE's photo essays were always scripted before production.

      The editors knew the story they wanted to tell and the photographer would be sent out to capture it on film.

      He might resent the constraints.

      But his logistical and technical problems are mostly solved. People know he is coming, all his ducks are in a row.

      He should have no problems making his deadline and if the schedule isn't realistic or he hasn't received the proper clearances, he has the editors to blame.

      Consider the lighting and composition in these photographs.

      These are not candid shots.

      The photograph in the archives is not, of course, the photograph in print. There would have been a dramatic loss of detail.

    8. Re:Double bluff by Z00L00K · · Score: 2, Interesting

      It is possible that this was a partial setup, but in this case it was the question of a deception message that was about to be sent using encryption that was probably already blown at the time.

      And mind that the encryption wasn't US encryption, but German encryption so if the encryption was blown and the agent was already cold then it may have been a semi-arranged situation where it was real life data that already had cooled that was used.

      And the whole setup could have been intentional from the intelligence point of view because in some cases you may want to double-deceive the counterpart. This means that the counterpart may have to think that they got false data, but the data was actually real, and then it was necessary to seed confusion. Be aware that this message may not be the message intended to be the one they wanted to obscure but another much more sensitive. Because if you reveal that you know of something then a lot of the earlier messages also will be cast in doubt.

      So the question why this photo was taken may be revealed in another message, but we may never see an answer to that.

      Espionage and counter-intelligence is never straight, it's full of deception and double-deception.

      This actually leads to a story (I can't confirm it, but someone else may) that an intelligence officer with knowledge about the D-day landing sites was captured in France and when the Germans questioned him he did give them the correct info straight on, but they didn't trust that so after some torture he instead claimed that the beaches around Calais was the landing site.

      --
      If builders built buildings the way programmers wrote programs, then the first woodpecker would destroy civilization.
    9. Re:Double bluff by jdege · · Score: 1

      It is possible that this was a partial setup, but in this case it was the question of a deception message that was about to be sent using encryption that was probably already blown at the time.

      Yep.

      The worksheet shows the cryptanalysis of a simple transposition cipher using a technique that was included in Helen Gaines' "Elementary Cryptanalysis", published in 1939.

      Whether it was ever a secure cipher I can't say. But by the late 30's, it was appearing in the advanced puzzle magazines.

      --
      When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
    10. Re:Double bluff by Anonymous Coward · · Score: 0

      Consider also that the subject holds his pen in his right hand, just above the typewritten sheet, while the handwritten sheet is on the left. He'd more logically reverse the two sheets of paper for actual work, as he could then write with his right hand while not obstructing the typewritten sheet, which would be on the left.

    11. Re:Double bluff by Anonymous Coward · · Score: 0

      I could see this method working back when brute force methods of breaking codes weren't exactly readily available.

      I played with something similar to this at one time. The basic idea is that it's just a grid of letters A-Z going across, and then cycling through the alphabet starting with the following letter in the column going down. Basically it's a kind of lookup table.

      First you have your message, and then below it your key. Then what you do to make it encoded is lookup the letter for the message going across and the letter for the key going down and then where the row and column meet up, that's where you find the coded letter. The reverse is to look up the letter of the key first, then go down to the letter on the recieved encrypted message. Then on the first column in the corresponding row is the decoded letter.

      In this case the grid is also cut apart so you could use various methods of shifting parts up or down. So you could add or subtract a value for each starting letter to mix things up even more. You could probably use various math equations and then go to the nearest integer as you feed in numbers going from 1(A) to 26(Z)...

      I suppose nowadays you could use javascript to make a code like that work. And instead of A-Z, you could use the unicode character set. And if you wanted to get fancy with the key, you could use an entire webpage of text as the key. Thus you could agree ahead of time to use various websites at various days to encrypt/decode a message with a key that's as long as the entire page's content. Not sure how secure it would be though. Seems like it would actually work fairly well though for as simple as the idea might be.

      Here's one that works with a simple alpha grid and no shifting:
      this is a sample key
      hcid ba n wsgrvw nvg grrg ul l hl

  5. what's the big deal? by gEvil+(beta) · · Score: 1

    I don't see what the big deal is. You guys have never seen someone doing a word search puzzle before?

    --
    This guy's the limit!
    1. Re:what's the big deal? by Tumbleweed · · Score: 5, Funny

      I don't see what the big deal is. You guys have never seen someone doing a word search puzzle before?

      And the answer to today's word jumble is: "NORMANDY"

    2. Re:what's the big deal? by Alpha+Whisky · · Score: 5, Interesting
      --
      it's = it is

      its = belonging to it

  6. Cryptography vs Cryptology by Doc+Ruby · · Score: 4, Interesting

    What is at work there is cryptography , not just "cryptology. It's actually the generation of encoded symbols, not just any practice connected to the study of hiding information.

    --

    --
    make install -not war

    1. Re:Cryptography vs Cryptology by ResidntGeek · · Score: 1

      Maybe the blogger was using "this" to mean his own post. He was using cryptology to figure out what was going on in the picture.

      --
      ResidntGeek
    2. Re:Cryptography vs Cryptology by Anonymous Coward · · Score: 0

      Awww, pedants are so cute! Go fuck yourself.

  7. July 1940 != prewar by Anonymous Coward · · Score: 2, Interesting

    Just because America was neutral doesn't mean the war hadn't started.

    1. Re:July 1940 != prewar by IvyKing · · Score: 2, Insightful

      Since the US did not declare war on Japan until December 8, 1941 (and Germany on December 11, 1941) July 1940 is legitimately pre-war as far as the US is concerned. BTW, the first US casualties from WW2 took place in China in 1937.

    2. Re:July 1940 != prewar by lysergic.acid · · Score: 4, Informative

      according to the comments FTA, the phrase "pre-war German espionage code" is referring to the age of the encryption algorithm being used, not when it was used in the photo:

      Thiago: It's not meant to be Americentric: Duquesne entered German service in February 1939, and I'm willing to bet that the cipher in question dates back earlier than that, based on what I know of wartime crypto history. As I recall, at the time (1939-1941) the high-level military and diplomatic traffic was encrypted with Enigma machines, and everything else used codes that dated back to the early 1930s, or before (and were fairly easily broken by, e.g., Bletchley Park.)

      Hence, "pre-war", as opposed to a later, military, war-time code.

    3. Re:July 1940 != prewar by vux984 · · Score: 2, Funny

      Since the US did not declare war on Japan until December 8, 1941 (and Germany on December 11, 1941) July 1940 is legitimately pre-war as far as the US is concerned.

      er... By that logic since Switzerland did not declare war at all, July 1940 is legitimately 'prewar' for them too? Of course, so is November 2008... in fact as far was the Swiss are concerned there was no war?

      Are we still 'legitimately pre-World War II as far as the Swiss are concerned'?

      Any Swiss care to weigh in on this absurdity? ;)

    4. Re:July 1940 != prewar by z-j-y · · Score: 1

      To be fair, it's pretty hard to count all the wars in Europe.

    5. Re:July 1940 != prewar by IvyKing · · Score: 1

      er... By that logic since Switzerland did not declare war at all, July 1940 is legitimately 'prewar' for them too?

      Since Switzerland didn't declare war, "pre-war" is a non-sequitor for them. The US was still pretty much on a peace-time economy in 1940 and full war time conditions didn't start until December 1941.

      I agree with the Chinese viewpoint that WW2 started in 1931 as there was pretty much continuous fighting taking place there until 1945 - the US had sent the "Flying Tigers" to help out the Chinese prior to the Pearl Harbor attack and a US gunboat was sunk by the Japanese in 1937. The Eurocentric view is that the war started with the invasion of Poland by Germany and the Soviet Union.

      On the gripping hand, there's always Pournelle's view of 20th century Europe and the 70 year war that started in 1914 and ended when Yeltsin took over the Soviet Union.

    6. Re:July 1940 != prewar by vux984 · · Score: 2, Informative

      Since Switzerland didn't declare war, "pre-war" is a non-sequitor for them.

      Not at all. Just because a country wasn't in the war, that doesn't mean they don't acknowledge that it existed, that it started or that it ended. Switzerland can talk about what it was doing pre-WW2, post-WW2, and during WW2 without it being a non-sequitor.

      I agree with the Chinese viewpoint that WW2 started in 1931...

      The date the world has agreed a war started is pretty arbitrary in almost ANY war, but it serves as useful frame of reference, and its not generally useful not use the 'agreed date'.

  8. Schneier's post by bobbozzo · · Score: 4, Informative

    Since tfa didn't link to Schneier's blog, here it is:
    http://www.schneier.com/blog/archives/2008/11/1941_pencil-and.html

    --
    Nothing to see here; Move along.
    1. Re:Schneier's post by elgatozorbas · · Score: 3, Insightful

      Imagine a Beowulf cluster of these...

      Oh wait, it's called college.

    2. Re:Schneier's post by Anonymous Coward · · Score: 0

      (oblig)

      In Soviet Russia the Beowulf cluster of these was called academia, you insensitive clod

  9. The cipher by Anonymous Coward · · Score: 3, Informative

    from comments under the article (for those who don't read comments except on slashdot):
    It looks to be just a transposition cypher. The "key" is the arrangement of columns from 1-18. You write the message down with 18 columns across, then read down each column in the order given by the key, grouping in 5s. I suspect the caption is actually correct ... you wouldn't need such a complicated worksheet and all those typed strips for encryption, but they would make it easier to get the columns lined up when decrypting, so I imagine the cryptographer is decrypting the message to make sure it was encrypted correctly before sending it.

    1. Re:The cipher by jdege · · Score: 1

      I've posted it over there, I'll post it here.

      Read section 12-3 of FM 34-40-2:

      http://www.umich.edu/~umich/fm-34-40-2/ch12.pdf

      This technique of solving incomplete columnar transposition ciphers had been described in the open literature prior to 1941.

      It was described in Helen Gaines' "Elementary Cryptanalysis", published in 1939. Many of the techniques in Gaines' book originated in M.E. Ohaver's column "Solving Cipher Secrets", in "Flynn's Weekly Detective Fiction" magazine, which ran from 1924 to 1928. I'd not be at all surprised to find that this technique was described there.

      It's beyond the realm of possibility that any German intelligence agency would have been using single transposition in 1941. It's not at all impossible to believe that someone at the FBI, asked to create a worksheet for a Life photo-op that didn't reveal anything of substance, would choose to demonstrate the cryptanalysis of a cipher that was already widely-known among the well-informed amateurs. and hence wouldn't compromise any of the systems the Germans were actually using, or how effective they were at breaking them.

      --
      When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
    2. Re:The cipher by jdege · · Score: 1

      It's beyond the realm of possibility that any German intelligence agency would have been using single transposition in 1941.

      Or not!

      I was reading David Kahn's "The Reader of Gentlemen's Mail" - his biography of Herbert Yardley. In 1941, Yardley was working with the Canadian government, helping them set up a crypto bureau. Most of what they were cracking were messages to German spies working in South America - and yes, they really were using a simple transposition cipher, just like had been appearing in puzzle books for decades.

      --
      When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
  10. Wait, I thought... by WED+Fan · · Score: 4, Funny

    Actually he was a computer - that's what they called people...

    I'm confused, I thought...

    Soylent Green == People

    Computers == People

    Soylent Green is edible.

    People are edible.

    Question: Will be Dell laptop work with a South Beach diet?

    --
    Politics is the art of looking for trouble, finding it everywhere, diagnosing it incorrectly and applying the wrong fix.
  11. Ic eom Beowulf! by spaceyhackerlady · · Score: 1

    Hwaet! We Gardena in geardagum,
    theodcyninga, thrym gefrunon,
    hu tha aethelingas ellen fremedon.
    Oft Scyld Scefing sceathena threatum...

    I think it loses something in the translation. And not just because Slashdot botches the eths and the thorns.

    ...laura

    1. Re:Ic eom Beowulf! by jdege · · Score: 1

      Monster Grendel's tastes were plainish
            Breakfast just a couple Danish...

      (Maurice Sagoff)

      --
      When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl.
    2. Re:Ic eom Beowulf! by Reziac · · Score: 1

      Wow, now THAT's what I call encryption! ;)

      --
      ~REZ~ #43301. Who'd fake being me anyway?
  12. More Cryptology Secrets or More Data Storage? by Anonymous Coward · · Score: 0

    Well, here's the tradeoff... we can keep a secret for only 30 years in Cryptology, meaning this code was probably used in 1911 and known to everyone at the time. Or, we can keep something a secret that everyone already knows, and have less data storage in our new computers. This was all I got to know about cryptology in the 80's, and when the freedom of information act was born and also the first personal computers.

    1. Re:More Cryptology Secrets or More Data Storage? by Anonymous Coward · · Score: 0

      The first "personal computers" were in the late 70s, not 80s...

  13. Re:Beware by Anonymous Coward · · Score: 0

    You're posting on /., chances are you'd never have used it anyway.

  14. FBI WATCH MAKING CRUELTY VISIBLE by Anonymous Coward · · Score: 0

    for a partial list of crimes committed by FBI agents over 1500 pages long see
    http://www.campusactivism.org/phpBB3/viewforum.php?f=29