CPE 645 / CS 685
Applied Cryptography

Playfair Cipher

Encrypt letter pairs through a 5×5 key square, the first cipher here that flattens single-letter frequency.

Digraphdemo
Objectives
  • Construct the key square from a keyword.

  • Apply the row, column, and rectangle rules to a digraph.

  • Explain what encrypting pairs buys, and what it still leaks.


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