CPE 645 / CS 685
Applied Cryptography
Calculators

The Avalanche Effect

Flip one bit of the plaintext and watch the difference grow round by round. The average comes from two thousand pairs.

DiffusionMeasurementdemo
Objectives
  • Trace how many state bits differ after each round of a sample cipher.

  • Explain why a single trace cannot support a claim about diffusion.

  • Predict the average number of ciphertext bits a one-bit change should alter.

  • Compare how diffusion builds up in a Feistel network and in an SPN.

  • Interpret a shortfall in the average as information leaked to an attacker.


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