Categories: Uncategorized

Nerdgasm – GCHQ Releases Emulators For Enigma, Bombe, Typex Crypto Machines

Forget all that cryptocurrency, Bitcoin stuff and come play with the real thing. GCHQ – the UK equivalent of the NSA – has released emulators for the Enigma, Bombe and Typex machines so that you can play at WW II code breaking. And even WW II code creation. A proper nerdgasm for those who like this sort of thing. You know, the nerds?

As background here the Enigma was the German coding machine, the breaking of some of its codes being most, most, useful to the Allies. The Bombe was an early computerish type machine that aided in such work and calculations. Typex was an RAF coding machine.

Bletchley Park was where all this work was done, it therefore being secret. So secret that since it stopped being so there’ve been more documentaries about it than there were hot dinners served there*.

What GCHQ has done is, as it celebrates its centenary, release the code to Github of those emulators. As El Reg points out:

[perfectpullquote align=”full” bordertop=”false” cite=”” link=”” color=”” class=”” size=””] UK signals intelligence agency GCHQ, celebrating its centenary, has released emulators for famed World War II-era cipher machines that can be run within its web-based educational encryption app CodeChef. “We’ve brought technology from our past into the present by creating emulators for Enigma, Typex and the Bombe in #CyberChef,” GCHQ said Thursday via Twitter. “We even tested them against the real thing! Try them out for yourself!” [/perfectpullquote]

The emulators can be found here.

[perfectpullquote align=”full” bordertop=”false” cite=”” link=”” color=”” class=”” size=””] How to encrypt/decrypt with Enigma
We’ll start with a step-by-step guide to decrypting a known message. You can see the result of these steps in CyberChef here. Let’s say that our message is as follows: XTSYN WAEUG EZALY NRQIM AMLZX MFUOD AWXLY LZCUZ QOQBQ JLCPK NDDRW F And that we’ve been told that a German service Enigma is in use with the following settings: Rotors III, II, and IV, reflector B, ring settings (Ringstellung in German) KNG, plugboard (Steckerbrett)AH CO DE GZ IJ KM LQ NY PS TW, and finally the rotors are set to OPM. [/perfectpullquote] [perfectpullquote align=”full” bordertop=”false” cite=”” link=”” color=”” class=”” size=””]Enigma settings are generally given left-to-right. Therefore, you should ensure the 3-rotor Enigma is selected in the first dropdown menu, and then use the dropdown menus to put rotor III in the 1st rotor slot, II in the 2nd, and IV in the 3rd, and pick B in the reflector slot. In the ring setting and initial value boxes for the 1st rotor, put K and O respectively, N and P in the 2nd, and G and M in the 3rd. Copy the plugboard settings AH CO DE GZ IJ KM LQ NY PS TW into the plugboard box. Finally, paste the message into the input window.[/perfectpullquote]

Hmm, yes, this sort of thing makes our brains hurt. Which is why we work as journalists, not good with numbers, see? Or, in fact, good with anything complex. But some of you will differ and have ability so go have fun.

*Might be a spot of hyperbole there. Maybe.

0 0 votes
Article Rating
Tim Worstall

Share
Published by
Tim Worstall

Recent Posts

The BBC and terrorism

The language we use matters - it provides clarity to our own thoughts and enables…

3 years ago

We Should Pay Medical Personnel For Each Procedure They Perform

It is now generally acknowledged that the structure of the NHS needs to be overhauled…

3 years ago

The Scrubbers Are Failing

In the film Apollo 13, a loss of oxygen causes the crew to start inadvertently…

3 years ago

Wondering whether an idea is actually correct or not

There's an idea out there which seems intuitive but then so many ideas do seem…

4 years ago

Is Cryptocurrency Our Revolution, Or Theirs?

When we think about the darkly opaque goals of modern central bankers as they relate…

4 years ago

Playing The Mischief With Us

As the papers recently filled with the distressing images of desperate souls looking to escape…

4 years ago