Learn about the infamous Enigma machine and how its “unbreakable” code was finally defeated.
In the past few issues, we’ve covered a wide range of different ciphers and codes. This issue, we’re going to be looking at one of the most famous codes in wartime history; the Enigma code.
When you think of wars, you may initially think of fights mainly taking place with soldiers, tanks and boats. The truth is, there’s another, more hidden layer to warfare than just armies! When two countries fight, they may engage in operations to extract important information from the enemy. The idea is, if you know what your enemy is doing, you can better use your army to attack and defend the opposition.
One way of getting this information is to listen in on what the enemy is saying. This is usually done by finding the communications channels being used and secretly listening in. A good military will know of this method of attack, however, and will encrypt their message in a form of code. The ones used by the Germans in World War 2 was called the ‘Enigma Code’, and cracking it was a huge feat of computing at the time!
The Enigma Code was invented by Arthur Scherbius in 1918, and took the world by storm due to its use in World War 2. The Germans used a very complicated machine called an Engima Machine in order to encrypt their messages. The Polish managed to find out how to decrypt the messages, but the Germans then stepped up their security by changing the cipher every day. This meant that the Allies had to re-crack the code every day in order to stay on top!
It was a very daunting task, but it was by no means impossible. An Englishman called Alan Turing decided to step up to the challenge. He, along with fellow codebreaker Gordon Welchman, created a decryption machine called the Bombe, which had the task of decrypting the Enigma messages as quickly as possible.
Alan Turing worked with his colleagues in Bletchley Park. There, they would try to work out how to decrypt the Enigma Code every time it changed. There were a few clues they discovered when trying to decrypt the cipher; for one, the Enigma Machine was built in a way where a letter could not be encrypted into itself (for example, the letter ‘A’ would never be encrypted into an ‘A’, a ‘B’ into a ‘B’, and so on.) This cut down on a lot of different answers to decrypting the Enigma Code, as any solution where a letter was encrypted into itself could be ruled out.
The Germans were very confident in their code, using it for ground, sea, and air communications. This meant that, when Alan Turing and his Bombe managed to begin busting the code, the Allies had access to a lot of the German’s information. Turing’s contribution to the war effort was very large; so much so that the prime minister of the time, Winston Churchill, personally commended Turing and said the war would have been much harder were it not for Turing’s efforts. Not every war hero is a soldier, after all!
Of course, these days, we know all about how the Enigma code worked. There are even sites on the internet that allow you to encode and decode messages like the Germans did during World War 2. Check the top link in the additional links for this article, then scroll to the bottom until you see the encoder and decoder. Set the positions to ‘B’, ‘C’, ‘A’, and ‘D’, then type the following into the ‘Encrypted Text’ box and click ‘Decrypt’ to find out what it says:
If you want to send a reply, what message would you send back? To work this out, type your message into the ‘Inputted text’ box and click ‘Encrypt’. To test it, try typing ‘Let’s meet up today’ into the box and clicking ‘Encrypt’, then check your result to the answers below!
w$6)v.d/cwg = ‘Hello There’
Let’s meet up today = [email protected]+bch,$b!o3u6l
Count On: Codebreaking: The Enigma Cipher
Imperial War Museums: How Alan Turing Cracked The Enigma Code
Khan Academy: The Enigma encryption machine
Also In The June 2018 Issue
Create a fun adventure game with sprites using a retro fantasy computer.
Hide information in plain sight using a clever code and a good book.
Logic puzzles help develop reasoning skills useful for programming, computer science, and anything you might do.
Find perfect and fun gifts for your loved ones that teach STEAM concepts and skills.
From light-up bow-ties to conductive thread, you’ll be the life of the party with this STEAM-inspired gear.
A free online test service reveals how much personal data your web browser is giving away.
Add more tools to your command line arsenal, including running mini-scripts and making backup copies.
Use switches to take your robotic creations to the next level.
Create the American flag in SketchUp using this detailed tutorial.
From lasers to supernovas, Berboucha is making science communication a priority.
Code can always be improved. Check out these tips to make you the best programmer you can be!
It’s a programming language unlike any you’ve seen before. Check out this symbolic system designed for mathematical calculations.
It’s a game that’s obsessing the world. Harmful, or a potential gateway to new skills?
Some fun Python code that introduces you to the arcane world of event handling.
New, improved, faster, and sleeker - it’s Scratch 3, your new favourite block language!
Learn about the brilliant algorithm behind all of your GPS devices.
It’s free, comprehensive, and available on-the-go. This cool app helps you master Python faster than ever before.
Open up whole new worlds to explore through these interesting, diverse add-ons.
Links from the bottom of all the October 2018 articles, collected in one place for you to print, share, or bookmark.
Interesting stories about computer science, software programming, and technology for October 2018.