CPE 645 / CS 685
Applied Cryptography

Rail Fence Cipher

Write the message in a zigzag across rails and read it off row by row. Same letters, new positions.

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.