Substitution Box

In cryptography, a substitution box (or S-box) is a basic component of symmetric key algorithms. In block ciphers, they are typically used to obscure the relationship between the plaintext and the ciphertextShannon's property of confusion. In many cases, the S-boxes are carefully chosen to resist cryptanalysis. In general, an S-box takes some number of input bits, m, and transforms them into some number of output bits, n: an m×n S-box, implemented as a lookup table. Fixed tables are normally used, as in the Data Encryption Standard (DES), but in some ciphers the tables are generated dynamically from the key; e.g. the Blowfish and the Twofish encryption algorithms. As a concrete illustration, consider this 6×4-bit S-box from DES (S5):
S5Middle 4 bits of input
0000000100100011010001010110011110001001110010111100110111101111
Outer bits000010110001000001011111001011011010000101001111111101000011101001
011110101100101100010001111101000101010000111111000011100110000110
100100001000011011110011010111100011111001110001010110001100001110
111011100011000111000111100010110101101111000010011100010001010011
Given a 6-bit input, the 4-bit output is found by selecting the row using the outer two bits, and the column using the inner four bits. For example, an input "011011" has outer bits "01" and inner bits "1101"; the corresponding output would be "1001". The S-boxes of DES were the subject of intense study for many years out of a concern that a backdoor — a vulnerability known only to its designers — might have been planted in the cipher. The S-box design criteria were eventually published (Don Coppersmith, 1994) after the public rediscovery of differential cryptanalysis, showing that they had been carefully tuned to increase resistance against this specific attack. Other research had already indicated that even small modifications to an S-box could significantly weaken DES. There has been a great deal of research into the design of good S-boxes, and much more is understood about their use in block ciphers than when DES was released.

See also

References

  • Coppersmith, Don. (1994). The data encryption standard (DES) and its strength against attacks. The IBM Journal of Research and Development, 38(3), pp243–250.
  • S. Mister and C. Adams, "Practical S-Box Design," Workshop on Selected Areas in Cryptography (SAC '96) Workshop Record, Queens University, 1996, pp. 61–76

External links

 

<< PreviousWord BrowserNext >>
jerry stiller
anne meara
bilinear transformation
markovnikov's rule
bernadette soubirous
henrik larsson
gaussian year
the legend of zelda: the four swords
synthetic proposition
hydration reaction
trung sisters
amy stiller's breast
star system
john rebus
winterthur museum and grounds
hagley museum and library
halogen addition reaction
white hole
national basketball league
halohydrin formation reaction
joe cole
auguste kerckhoffs
oxymercuration reaction
tetrahydrofuran
yao ming
hydroboration oxidation reaction
ferry
american basketball league 1961 63
blancmange (band)
cast 128
d. boon
carcharhiniformes
fuzhou
dezert smarandache theory
dimorphid
fibrinolysis
catshark
list of record producers
adrenergic receptor
saadi
scyliorhinus
chaffinch
shadow of the hegemon
medb