Skip to content
Back to college projects
CryptographyLive demo

Caesar cipher lab

A classical substitution exercise rebuilt as a browser-safe cipher tool with bounded input and deterministic output.

Original implementation

The original script focused on modular arithmetic and alphabet rotation for encoding and decoding short messages.

Web adaptation

The web version preserves the same character-shift logic in TypeScript and exposes only constrained text and key inputs.

Why it matters

Good example of translating a scripting exercise into an interactive teaching artifact without exposing code execution paths.

Original stack

  • Python

Web stack

  • TypeScript
  • React

Original to web

Direct TypeScript translation of the original logic.

Archive

College archive

Interactive demo

These demos do not execute uploaded source files, native binaries, or arbitrary user code. Inputs are bounded and the browser versions are first-party rewrites in TypeScript.