Gilbert Sandford Vernam (April 3, 1890 – February 7, 1960) was a
Worcester Polytechnic Institute 1914 graduate and
AT&T
AT&T Inc., an abbreviation for its predecessor's former name, the American Telephone and Telegraph Company, is an American multinational telecommunications holding company headquartered at Whitacre Tower in Downtown Dallas, Texas. It is the w ...
Bell Labs
Nokia Bell Labs, commonly referred to as ''Bell Labs'', is an American industrial research and development company owned by Finnish technology company Nokia. With headquarters located in Murray Hill, New Jersey, Murray Hill, New Jersey, the compa ...
engineer who, in 1917, invented an additive
polyalphabetic stream cipher and later co-invented an automated
one-time pad cipher
In cryptography, a cipher (or cypher) is an algorithm for performing encryption or decryption—a series of well-defined steps that can be followed as a procedure. An alternative, less common term is ''encipherment''. To encipher or encode i ...
. Vernam proposed a teleprinter cipher in which a previously prepared
key, kept on
paper tape, is combined character by character with the
plaintext message to produce the
ciphertext
In cryptography, ciphertext or cyphertext is the result of encryption performed on plaintext using an algorithm, called a cipher. Ciphertext is also known as encrypted or encoded information because it contains a form of the original plaintext ...
. To decipher the ciphertext, the same key would be again combined character by character, producing the
plaintext.
Vernam later worked for the
Postal Telegraph Company, and became an employee of
Western Union when that company acquired Postal in 1943. His later work was largely with automatic switching systems for
telegraph
Telegraphy is the long-distance transmission of messages where the sender uses symbolic codes, known to the recipient, rather than a physical exchange of an object bearing the message. Thus flag semaphore is a method of telegraphy, whereas ...
networks.
Vernam's patent
The combining function Vernam specified in , issued July 22, 1919, is the
XOR operation, applied to the individual impulses or
bits used to encode the characters in the
Baudot code
The Baudot code () is an early character encoding for telegraphy invented by Émile Baudot in the 1870s. It was the predecessor to the International Telegraph Alphabet No. 2 (ITA2), the most common teleprinter code in use before ASCII. Each ch ...
. Vernam did not use the term "XOR" in the patent, but he implemented that operation in
relay logic. In the example Vernam gave, the
plaintext is ''A'', encoded as "" in Baudot, and the key character is ''B'', encoded as "". The resulting ciphertext will be "", which encodes a ''G''. Combining the ''G'' with the key character ''B'' at the receiving end produces "", which is the original plaintext ''A''. The
NSA has called this patent "perhaps one of the most important in the history of cryptography.".
One-time pad
Shortly thereafter,
Joseph Mauborgne, at that time a captain in the
US Army Signal Corps, proposed, in addition, that the paper tape key contain
random
In common usage, randomness is the apparent or actual lack of definite pattern or predictability in information. A random sequence of events, symbols or steps often has no order and does not follow an intelligible pattern or combination. ...
information. The two ideas, when themselves combined, implement an automatic form of the
one-time pad, though neither inventor used the name then.
Claude Shannon
Claude Elwood Shannon (April 30, 1916 – February 24, 2001) was an American mathematician, electrical engineer, computer scientist, cryptographer and inventor known as the "father of information theory" and the man who laid the foundations of th ...
, also at Bell Labs, proved that the one-time pad, properly implemented, is unbreakable in his
World War II
World War II or the Second World War (1 September 1939 – 2 September 1945) was a World war, global conflict between two coalitions: the Allies of World War II, Allies and the Axis powers. World War II by country, Nearly all of the wo ...
research that was later published in October 1949. He also proved that any unbreakable system must have essentially the same characteristics as the one-time pad: the key must be truly random, as large as the plaintext, never reused in whole or part, and kept secret.
The Vernam cipher
In modern terminology, a Vernam cipher is a symmetrical
stream cipher in which the plaintext is combined with a random or
pseudorandom stream of data (the "keystream") to generate the ciphertext, using the
Boolean "exclusive or" (XOR) function. This is symbolised by ⊕ and is represented by the following "
truth table
A truth table is a mathematical table used in logic—specifically in connection with Boolean algebra, Boolean functions, and propositional calculus—which sets out the functional values of logical expressions on each of their functional arg ...
", where + represents "true" and − represents "false".
Other names for this function are: Not equal (NEQ),
modulo
In computing and mathematics, the modulo operation returns the remainder or signed remainder of a division, after one number is divided by another, the latter being called the '' modulus'' of the operation.
Given two positive numbers and , mo ...
2 addition (without 'carry') and modulo 2 subtraction (without 'borrow').
The cipher is reciprocal in that the identical keystream is used both to encipher plaintext to ciphertext and to decipher ciphertext to yield the original plaintext:
::::Plaintext ⊕ Key = Ciphertext
and:
::::Ciphertext ⊕ Key = Plaintext
If the keystream is truly random and used only once, this is effectively a
one-time pad. Substituting pseudorandom data generated by a
cryptographically secure pseudo-random number generator is a common and effective construction for a stream cipher.
RC4 is an example of a Vernam cipher that is widely used on the Internet.
If, however, the same keystream is used for two messages, known to cryptanalysts as a
depth, the effect of the keystream can be eliminated, leaving the two plaintexts XORed together. The result is equivalent to a
Running key cipher and the two plaintexts may be separated by linguistic cryptanalytical techniques.
::::Ciphertext1 ⊕ Ciphertext2 = Plaintext1 ⊕ Plaintext2
An operator's mistake of this sort famously allowed the
Cryptanalysis of the Lorenz cipher
Cryptanalysis of the Lorenz cipher was the process that enabled the British to read high-level German army messages during World War II. The British Government Code and Cypher School (GC&CS) at Bletchley Park decrypted many communications betwee ...
by the British at
Bletchley Park
Bletchley Park is an English country house and Bletchley Park estate, estate in Bletchley, Milton Keynes (Buckinghamshire), that became the principal centre of Allies of World War II, Allied World War II cryptography, code-breaking during the S ...
during
World War II
World War II or the Second World War (1 September 1939 – 2 September 1945) was a World war, global conflict between two coalitions: the Allies of World War II, Allies and the Axis powers. World War II by country, Nearly all of the wo ...
. They diagnosed how the keystream was generated, worked out how to break the cipher, and read vast quantities of high-level messages to and from German high command without ever seeing an actual Lorenz machine.
Notes
See also
*
Rockex
*
5-UCO
References
*
*
* . Transcript of a lecture given by Prof. Tutte at the
University of Waterloo
The University of Waterloo (UWaterloo, UW, or Waterloo) is a Public university, public research university located in Waterloo, Ontario, Canada. The main campus is on of land adjacent to uptown Waterloo and Waterloo Park. The university also op ...
*
*
*
* Also in
{{DEFAULTSORT:Vernam, Gilbert
1890 births
1960 deaths
20th-century cryptographers
Vernam cipher
Scientists at Bell Labs
Worcester Polytechnic Institute alumni