Daily Archives: 1/15/2011

Colossus: The secrets of Bletchley Park’s code-breaking computers

As long time readers of my blog might remember, I’ve been fascinated by old cryptographic machines. I spent quite a bit of time tinkering around with them back when I was working on Simon Singh’s cipher challenge in his book. In particular, I spent a considerable amount of time reading up on the German Enigma machine, and eventually managed to break Stage 8 of that challenge using an Enigma machine simulator that I coded up. I also have a fair number of books on Enigma.

For all that, I didn’t actually know much about the other great code breaking effort at Bletchley Park: the break of the German “Tunny” code using Colossus, an even more impressive machine than the “Bombe” which allowed the breaking of Enigma. My lovely wife scanned my Amazon wishlist at Christmas, and picked up this book for me for my Kindle.

Colossus: The secrets of Bletchley Park’s code-breaking computers

If your tastes in reading are sufficiently refined to the point where reading about sixty year old code machines is interesting, I think you’ll enjoy the book. It isn’t too technical/nuts-n-bolts, but it does give a good basic idea of how the Tunny operated, and how the British developed an advanced code-breaking bureau that saved thousands of British lives and allowed the preservation of important supply lines in the face of German U-boats. If you are more interested in the history, you might do well to also pick up a copy of Codebreakers: The Inside Story of Bletchley Park, but Colossus includes more technical details on the Tunny.

After the war, the British destroyed Colossus, and most of the records of its function were lost or classified. But in 2000, the British released the “General Report on Tunny with Emphasis on Statistical Methods” which was written in 1945, and details much of the techniques they used to attack the Tunny. It’s online at alanturing.net and also makes for some interesting (and free!) reading.

Morse on Arduino code, now at Arduino Playground

A long time ago, I wrote some code to send simple morse messages by toggling a pin of an Arduino. It could either blink an LED, or if you wired a bias resistor and transistor to it, you could use it to (say) act like a key for the FT-817. But then I lost the code (it’s probably on my old laptop somewhere).

So, I rewrote it. This time I included some additional code so that it could generate a PWM signal that would beep a small speaker or buzzer. Some people seemed to like the code and thanked me for writing it. No biggie. I got some requests to reuse the code, I placed no restrictions on its reuse, but said that it would be great if they mentioned my name and blog when they redistributed it.

Erik Linder, SM0RVV, did just that. He tidied up the code, and submitted it to the Arduino Playground. Awesome! Thanks Erik. Hope others find this little code fragment to be of some use.

Arduino playground – Morse.