CPE 645 / CS 685
Applied Cryptography
Calculators

Entropy Calculator

Type a message and watch Shannon entropy grow, one letter at a time. Compare it with random letters and with English.

EntropyFrequency analysisdemo
Objectives
  • Count the draws in a message and explain why a space is not one.

  • Compute a letter's contribution to the entropy sum and say why a common letter contributes little.

  • Explain why three draws over 26 outcomes carry three different amounts of entropy.

  • Convert a difference in bits into the factor it changes an attacker's guessing work by.

  • Relate the gap between a uniform letter and an English letter to what frequency analysis spends.


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