Codes and encryption
Why do states encrypt their diplomatic messages?
Encryption means changing a message so that only someone with the right key can read it. The science of doing this is called cryptography, and defeating it is called code-breaking. States have long needed it. An ambassador receives instructions on how far to go in a negotiation, and a general sends orders to distant units. If a rival reads these messages, it knows the other side's plans and limits in advance. For this reason, the services that protect a state's own communications usually also try to read those of others, and both tasks are often given to the same agency.
In the Second World War, Germany protected its radio messages with the Enigma machine. Polish mathematicians first broke it in 1932 and shared their methods with Britain and France in 1939. At Bletchley Park in England, thousands of staff, among them the mathematician Alan Turing, read German messages on a large scale. The work stayed secret until the 1970s. A broken code is useful only while the other side still trusts it, so states hide their successes carefully. Since the 1970s, strong encryption has spread from governments to everyone and now protects bank payments and private messages.
This spread has created a new dispute. With end-to-end encryption, only the sender and the receiver can read a message; even the company that carries it cannot. Police and security services say that this hides the plans of criminals, and they ask for a legal way to gain access. Most cryptographers reply that any special access weakens protection for all users, because others could find and use it. A further concern is that future quantum computers may break methods used today. In 2024, the United States National Institute of Standards and Technology published the first encryption standards designed to resist them.
The Zimmermann telegram, January–March 1917
In January 1917, the German foreign minister, Arthur Zimmermann, sent a coded telegram to his ambassador in Mexico. If the United States entered the war, Germany proposed an alliance with Mexico, which would recover Texas, New Mexico and Arizona. British naval code-breakers, in an office known as Room 40, intercepted and decoded the message. Britain wanted to show it to Washington without revealing that it could read German codes, so it obtained a second copy in Mexico and presented that one as its source. The text was published in American newspapers on 1 March 1917, and Zimmermann confirmed that it was genuine. Germany had also begun to sink merchant ships without warning. On 6 April 1917, the United States declared war on Germany.