Do-It-Yourself Electronic Enigma Machine
Radio Shack Robot writes "The Enigma-E is a DIY Building Kit that enables you to build your own electronic variant of the famous Enigma coding machine that was used by the German army during WWII. It works just like a real Enigma and is compatible with an M3 and M4 Enigma as well as the standard Service Machines. A message encrypted on, say, a real Enigma M4 can be read on the Enigma-E and vice versa."
If you're not going to do the real thing, why not just make a software replica?
I wonder if there is anywhere to get original Nazi Enigma messages to decode.
24 beers in a case, 24 hours in a day. Coincidence? I think not!
Who would want an electronic version of the Enigma machine? You could just code one up in python or even write a bash script. If I was gonna build an enigma, it better have all the gears and knobs that an original one did.
Maybe I don't understand WWII fandom, but I understand geekfandom, and if you're going to build something that used to be a gear device, I don't wanna emulate it on my dreamcast.
Now what would be cool is to build the vacuum tube based machine the allies used to crack various codes...
Gnuyen
I looked at the site and the manuals arent online. I there any information abt how the enigma coding actually work ????
Enigma was an interesting development in cryptography because the rotating wheels caused the crypto output to be evenly distributed accross the alphabet. Therefore, it couldn't be solved by the typical letter replacement cypher techniques of assuming the most used letter in the code stands for "E" until proven otherwise, and working from there.
An Enigma-based crypto engine for binary data might be quite the interesting modern update. Especially because a brute force guessing of a 256-byte wheel would take a long time, and three wheels on top of each other would send the probablities of guessing your way into it into the stratosphere.
If an e-mail message were to be encoded using Enigma, does there exist any modern-era software for cracking it? Or would the US Government be forced to pull out the vacuum tubes and crack it the way they did in WWII again?
I doubt that a cracking program would have the Enigma algorithm built-in, but Enigma is suceptible to a type of brute force attack. Generally you can do heuiristic analysis on a cipher to get a good head start, then brute force a smaller subset of the data. On modern hardware this would probably take a few seconds, if that long.
24 beers in a case, 24 hours in a day. Coincidence? I think not!
This is an interesting little project, I remember learning about the history of the battle over the Enigma code in Computer Science, and the Colossus, the first programmable electronic computer...maybe now you can emulate a replica of the Colossus, the computer used to decipher the Enigma, and have a mini-WW2 cryptography battle on your computer!
An interesting piece of history...
Post apocalyptic gaming goodness
Enigma encryption might have been a great leap ahead and looked completely state of art in the WW2, but today, it's quite trivial to crack. Enigma could be easily bruteforced - just check through the entire keyspace.
It also probably wouldn't stand too long if real crypto breakers who knew their stuff would start their job without knowing anything about the encryption scheme, even. The science has gone so far in recent times.
And an easy way to illustrate: Compare output from Enigma with any modern cipher. Enigma output looks like completely mangled words - the text is garbled, the layout of the message is exposed. Modern cipher output looks like a completely random arrangement of bits, everything completely spread around the message with no point to really take a good grip on. With Enigma, if you know that Nazi guy is always putting "Heil Hitler" at the end, you have already cracked that much of the message.
If the thing looks trivial, then it probably is. If it doesn't, it probably isn't. Of course, this isn't always true in either way.
Now I'll get more coffee so I can start making sense today.
In case any of you think that the Enigma was "broken" by the boffins of Bletchley Park, and with Gillogly's ciphertext-only attack, became "ancient history", there are some ciphertexts from WW2 produced with the 4-rotor machine which have never been broken. (People have been so foolish as to say "Enigma is a joke to crack for my desktop"...)
The navajo indian code talkers did not "simply speak their native language". They actually had a code book to work from to translate english based orders into almost unrelated navajo words, so you get a sort of two level code system. The japanese captured several non code talking navajo indians in the course of the conflict, and these proved to be useless at decoding the talk.
In a similiar situation, one time pad encoded transmissions by Allied and Soviet spies during and after WW2 were dual encoded, first each word was encoded from plain text into a 4 digit number, and from there added to the onetime pad. This ended up with a situation where you could break the one time pad cyphers due to sloppy reuse of the pads on the soviet part, but then you had the task of matching up the numbers to words using a code book you can never see. Its not as easy as people make it out to be, less than 1% of all Venona traffic captured was ever broken, and then most were only broken by a word, thus useless.
Now what would be cool is to build the vacuum tube based machine the allies used to crack various codes...
The bombe was the first significant such electo-mechanical device used by the allies. Based on the Polish Bomba, incidentally.
Later they turned to Colossus, thought by many to be the first true computer.
Both are being rebuilt at Bletchely Park by a team of volunteers. Very cool, in my opinion.
I remeber watching a TV show about Bletchly Park a few years ago. They interviewed one of the code breakers about the Colossus computer. They retired codebreaker remarked that he had written a machine-code implementation of the Colossus and ran it on the fasted PC he could find, but the hardware Colossus was still quicker at code breaking. Station X
You don't need a lab to make mud.
I implemented an Enigma-cracking program when I was trying to crack the codes in Simon Singh's Cipher Challenge presented in The Code Book. It was a great deal of fun, and required just the right mix of learning, hacking and debugging to accomplish. Eventually I cracked 7 out of 10 of the ciphers (all the ones I expected to be within reasonable grasp).
The first difficulty was finding a sufficiently detailed description of the Enigma machine itself, so that I could write a simulator. Eventually I found a fairly good description of the machine, and some cleartext/ciphertext pairs to try it against. Initially there was a minor problem, which I eventually submitted as a plea to a newsgroup and received a quick response from an eGroup member as to the bug. Voila! A working simulator.
I took advice from Jim Gillogly and his cipher text only break of the Enigma machine. I suspected the final text would be German, so I built a table of trigraph frequencies from Goethe's Faust, which I downloaded from Project Gutenberg. I then coded up a simple hill climbing algorithm which proceeded by Scanning all possible rotor orders (six of them) and all possible rotor positions (26^3), looking for the text with the trigraph score, and then refining that by hillclimbing by redoing the plugboard.
It worked the very first time: out popped the flawless decrypt in less than three minutes on my old 133Mhz P5.
Singh's challenge was signficantly aided by the fact that his ciphertext was quite a bit longer than the recommended message length that was actually used in the War. My experience in trying to crack shorter messages was that the statistics used to guide the search were often unreliable, and the likelihood of getting a successful automatic decrypt were quite a bit lower.
There is much pleasure to be gained in useless knowledge.