Round Function

The heart of this cipher is the DES function, f. The DES function applies a 48-bit key to the rightmost 32 bits to produce a 32-bit output.

Round Function
  • Expansion Permutation Box − Since right input is 32-bit and round key is a 48-bit, we first need to expand right input to 48 bits. Permutation logic is graphically depicted in the following illustration −
Permutation Logic
  • The graphically depicted permutation logic is generally described as table in DES specification illustrated as shown −
DES Specification
  • XOR (Whitener). − After the expansion permutation, DES does XOR operation on the expanded right section and the round key. The round key is used only in this operation.
  • Substitution Boxes. − The S-boxes carry out the real mixing (confusion). DES uses 8 S-boxes, each with a 6-bit input and a 4-bit output. Refer the following illustration −
S-boxes
  • The S-box rule is illustrated below −
S-box Rule
  • There are a total of eight S-box tables. The output of all eight s-boxes is then combined in to 32 bit section.
  • Straight Permutation − The 32 bit output of S-boxes is then subjected to the straight permutation with rule shown in the following illustration:
Straight Permutation

Posted

in

by

Tags:

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *