CPE 645 / CS 685
Applied Cryptography
Calculators

Encrypting and Decrypting a Block

Encrypt the sample block through sixteen rounds, then decrypt it. Then turn off the subkey reversal and watch decryption fail.

DecryptionRound tripdemo
Objectives
  • Trace a block through the initial permutation, sixteen rounds and the final permutation.

  • Order the subkeys as encryption and as decryption apply them.

  • Predict the output of the circuit when the subkeys run forwards instead of backwards.

  • Explain the role of the final swap of halves in making one circuit do both jobs.

  • Interpret one row of the trace as a single Feistel step rather than as a whole cipher.


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