A device used to encrypt and decrypt messages, playing a critical role in secure communication during World War II. Notable examples include the Enigma machine used by Germany and the Type B machine used by Japan.