Research Library · Idea
Differential cryptanalysis
Differential cryptanalysis is a chosen-plaintext attack on iterated block ciphers. The attacker encrypts pairs of plaintexts with a chosen difference, usually an XOR difference, and looks for a difference that appears with unusually high probability after most of the rounds. Pairs that follow the predicted pattern reveal information about the final round's subkey. Eli Biham and Adi Shamir introduced the attack publicly at CRYPTO '90. It broke DES reduced to eight rounds in minutes on a PC and versions of up to 15 rounds faster than exhaustive search, and they said it demonstrated the crucial role of the unpublished DES design rules. 12 In 1992 they extended it to the full 16-round DES. The analysis phase uses about 2^36 usable ciphertexts, filtered from 2^47 chosen plaintexts, and takes about 2^37 time, less than the complexity of exhaustive search. 3
The basic tool is a characteristic, a predicted sequence of round-by-round differences. Its probability is usually estimated as the product of the probabilities for each active S-box. Don Coppersmith of the IBM DES team noted that this treats the S-boxes on different rounds as independent when they are not, but that this simplifies the analysis without materially affecting the outcome. The probability falls roughly exponentially as the number of active S-boxes grows. 4
Coppersmith wrote in 1994 that the technique, called the "T attack" inside IBM, was known to the DES designers as early as 1974 and shaped the S-boxes and the permutation P. One criterion says no more than eight of the 32 input pairs with a given nonzero difference may give the same output difference. He called the 2^47.2 chosen plaintexts that Biham and Shamir estimated enormous, noting that they must be encrypted by the machine holding the key. 4
Lai, Massey and Murphy recast the attack in terms of differentials, pairs of input and output differences counted over every intermediate path, and introduced Markov ciphers. Their probabilities are averages over independent, uniformly random subkeys, and applying them to a fixed key relies on what they called the hypothesis of stochastic equivalence. 5 Howard Heys's tutorial works the attack on a toy 16-bit substitution-permutation network and estimates the number of chosen pairs needed as a small constant divided by the characteristic's probability. 6
Source · Differential Cryptanalysis of DES-like Cryptosystems (Eli Biham and Adi Shamir) (opens in a new tab) · Journal of Cryptology (Springer)
References
- Differential Cryptanalysis of DES-like Cryptosystems, extended abstract (Eli Biham and Adi Shamir) (opens in a new tab) · Springer · CRYPTO 1990, LNCS 537. ↩
- Differential Cryptanalysis of DES-like Cryptosystems (Eli Biham and Adi Shamir) (opens in a new tab) · Journal of Cryptology (Springer) · Journal of Cryptology 4 (1991), pp. 3-72. ↩
- Differential Cryptanalysis of the Full 16-round DES (Eli Biham and Adi Shamir) (opens in a new tab) · Springer · CRYPTO 1992, LNCS 740. ↩
- The Data Encryption Standard (DES) and its strength against attacks (Don Coppersmith) (opens in a new tab) · IBM Journal of Research and Development · Vol. 38 no. 3, May 1994. ↩ ↩
- Markov Ciphers and Differential Cryptanalysis (Xuejia Lai, James L. Massey and Sean Murphy) (opens in a new tab) · Springer · EUROCRYPT 1991, LNCS 547. ↩
- A Tutorial on Linear and Differential Cryptanalysis (Howard M. Heys) (opens in a new tab) · Memorial University of Newfoundland ↩
Research articles
- Counting active S-boxes: differential and linear cryptanalysis, and why AES is built the way it is · Mathematics
- Who knew first? Secret leads in cryptanalysis, from the DES S-boxes to the AI laboratories · Cybersecurity foundations
- Two messages, one fingerprint: how MD5 and SHA-1 collisions became forgeries · Mathematics
In the news
- Spectral uniformity of the AES superbox · IACR News ·
- Vectorial Boolean Functions with High Linear and Differential Branch Numbers · IACR News ·
- Thermodynamic Objective for Differential Trail Clustering · IACR News ·
See what connects to it on the map of ideas →

SecSIG