CPE 645 / CS 685
Applied Cryptography
Calculators

Inside a DES S-Box

Send six bits into any of the eight S-boxes. See which bits choose the row and the column, how many inputs share one output, and where those four bits go next.

S-boxesDiffusiondemo
Objectives
  • Apply the outer and inner bit rule to address one entry of an S-box.

  • Compute the four-bit output for a six-bit input by hand and check it against the page.

  • Test whether every row of a box is a permutation of the values 0 to 15.

  • Count the preimages of a chosen four-bit output and check that the count is four.

  • Trace which S-boxes in the next round one box's output reaches.


Static site. Every demo computes in your browser, and nothing you type is sent anywhere.