Breaking the Code is a 1996 BBC television movie directed by Herbert Wise, based on the 1986 play by Hugh Whitemore about British mathematician Alan Turing, the play thematically links Turing's cryptographic activities with his attempts to grapple with his homosexuality.


The story focuses on the life of the English mathematician Alan Turing, who helped decode the Enigma code, used by the Germans to send secret orders to their U-boats in World War II. He also was one of the key contributors to the development of the digital computer. Turing was also a homosexual in Britain at a time when it was illegal.