Permutation box

Last updated

In cryptography, a permutation box (or P-box) is a method of bit-shuffling used to permute or transpose bits across S-boxes inputs, creating diffusion while transposing. [1]

Contents

An example of a 64-bit "expansion" P-box which spreads the input S-boxes to as many output S-boxes as possible. Link between S-Boxes.gif
An example of a 64-bit "expansion" P-box which spreads the input S-boxes to as many output S-boxes as possible.

In block ciphers based on substitution-permutation network, the P-boxes, together with the "substitution" S-boxes are used to make the relation between the plaintext and the ciphertext difficult to understand (see Shannon's Confusion and diffusion). P-boxes are typically classified as compression, expansion, and straight, depending on whether the number of output bits is less than, greater than, or equal to the number of input bits, respectively. Only straight P-boxes are invertible.

See also

References

  1. Nayaka & Biradar 2013, p. 3.

Sources