CPE 645 / CS 685
Applied Cryptography
Calculators

Rail Fence Cipher

Write the message in a zigzag over several rows, then read it row by row. The letters stay the same; only their positions change.

Transpositiondemo
Objectives
  • Encrypt a message across a chosen number of rails.

  • Compare letter counts before and after transposing.

  • Explain why unchanged frequencies announce a transposition cipher.


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