Substitution box

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 ciphertext — Shannon'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 can be implemented as a lookup table with 2"m" words of "n" bits each. 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. Bruce Schneier describes IDEA's modular multiplication step as a key-dependent S-box.

One good example is this 6×4-bit S-box from DES (S5):

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 8 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.

ee also

* Boolean function
* Nothing up my sleeve number
* Substitution cipher
* Rijndael S-box

References

* cite conference
author = Kaisa Nyberg
title = Perfect nonlinear S-boxes
booktitle = Advances in Cryptology - EUROCRYPT '91
pages = 378–386
date = 1991
location = Brighton
url = http://dsns.csie.nctu.edu.tw/research/crypto/HTML/PDF/E91/378.PDF
format = PDF
accessdate = 2007-02-20

* cite journal
author = Don Coppersmith
title = The Data Encryption Standard (DES) and its strength against attacks
journal = IBM Journal of Research and Development
volume = 38
issue = 3
pages = 243–250
date = 1994
url = http://www.research.ibm.com/journal/rd/383/coppersmith.pdf
format = PDF
accessdate = 2007-02-20

* cite conference
author = S. Mister and C. Adams
title = Practical S-Box Design
booktitle = Workshop on Selected Areas in Cryptography (SAC '96) Workshop Record
pages = pp. 61–76
date = 1996
location = Queens University
url = http://adonis.ee.queensu.ca/sac/sac96/papers/paper7.ps
format = PostScript
accessdate = 2007-02-20

* cite book
last = Schneier
first = Bruce
authorlink = Bruce Schneier
title = Applied Cryptography, Second Edition
publisher = John Wiley & Sons
date = 1996
pages = 296-298, 349
id = ISBN 0-471-11709-9

External links

* [http://www.ciphersbyritter.com/RES/SBOXDESN.HTM A literature survey on S-box design]
* [http://www.quadibloc.com/crypto/co4513.htm John Savard's "Questions of S-Box Design"]
* [http://www.securitydocs.com/library/1319 Gargiulo's "S-Box Modifications and Their Effect in DES-like Encryption Systems"]


Wikimedia Foundation. 2010.

Игры ⚽ Нужен реферат?

Look at other dictionaries:

  • Box — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom.  Pour l’article homophone, voir Boxe. {{{image}}}   …   Wikipédia en Français

  • BOX — Cette page d’homonymie répertorie les différents sujets et articles partageant un même nom.  Pour l’article homophone, voir Boxe.   Sigles d’une seule lettre    …   Wikipédia en Français

  • Substitution-permutation network — In cryptography, an SP network, or substitution permutation network (SPN), is a series of linked mathematical operations used in block cipher algorithms such as AES.These networks consist of S boxes and P boxes that transform blocks of input bits …   Wikipedia

  • Table de substitution — S Box S Box (substitution box), terme anglais désignant une table de substitution utilisée dans un algorithme de chiffrement symétrique. Une S Box contribue à la « confusion » (terme employé par Claude Shannon) en rendant l information… …   Wikipédia en Français

  • S-box — (substitution box), terme anglais désignant une table de substitution utilisée dans un algorithme de chiffrement symétrique. Une S Box contribue à la « confusion » (terme employé par Claude Shannon) en rendant l information originale… …   Wikipédia en Français

  • S-Box — (substitution box), terme anglais désignant une table de substitution utilisée dans un algorithme de chiffrement symétrique. Une S Box contribue à la « confusion » (terme employé par Claude Shannon) en rendant l information originale… …   Wikipédia en Français

  • S-Box — Saltar a navegación, búsqueda En criptografía, una S Box (substitution box) es un componente básico de los algoritmos de cifrado de clave simétrica. En los cifradores por bloques son usadas a menudo para oscurecer la relación existente entre… …   Wikipedia Español

  • S-Box — In der Kryptografie bezeichnet eine S Box (englisch substitution box) eine Grundkomponente symmetrischer Kryptosysteme. Inhaltsverzeichnis 1 Aufbau 2 Anforderungen 3 Statisch oder Dynamisch …   Deutsch Wikipedia

  • Edgeworth box — In economics, an Edgeworth box, named after Francis Ysidro Edgeworth, is a way of representing various distributions of resources. Edgeworth made his presentation in his famous book, Mathematical Psychics: An essay on the application of… …   Wikipedia

  • Reseau de substitution-permutation — Réseau de substitution permutation En cryptographie, un réseau de permutation substitution (SPN en anglais) est une architecture utilisée dans les chiffrements par bloc comme AES. Elle consiste en une série de transformations mathématiques sur le …   Wikipédia en Français

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”