Simplied-DES Calculator


INSTRUCTIONS:
  1. Enter your 8-bit plaintext or ciphertext in the box labeled Text.
  2. Enter your 10-bit key in the box labeled Key.
  3. Click Encrypt or Decrypt.
  4. Result appears in bottom right textbox.
Text:
Key:
KEY GENERATION
Key:
P10(Key):
Left LS-1:
Right LS-1:
P8 to get K1:
Left LS-2:
Right LS-2:
P8 to get K2:
Initial Permutation:
ROUND 1
Left:
Right:
Subkey:
E/P of Right:
E/P XOR Subkey:
Row of S-box 0:
Column of S-box 0:
Row of S-box 1:
Column of S-box 1:
Output of S-box 0:
Output of S-box 1:
P4 of S-box output:
Left:
P4 XOR Left:
Joined with Right:
Switch:
ROUND 2
Left:
Right:
Subkey:
E/P of Right:
E/P XOR Subkey:
Row of S-box 0:
Column of S-box 0:
Row of S-box 1:
Column of S-box 1:
Output of S-box 0:
Output of S-box 1:
P4 of S-box output:
Left:
P4 XOR Left:
Joined with Right:
IP Inverse and Final Output: