Classical Cipher Studio

Type once – see many ciphers at a glance. Toggle Encode/Decode to switch direction.

Input & Mode
Parameters
Enigma (M3)
Outputs
Keyboard Mapping
Keyboard Map
Notes
  • Encode/Decode toggles invert each cipher as applicable. ROT and Atbash are involutive.
  • Affine requires A coprime with 26; otherwise decoding is undefined.
  • Enigma here is a simplified M3 simulator (I/II/III, Reflector B/C, plugboard). Non‑letters pass through unchanged.
Cipher Overview
Cipher Type Parameters Properties Notes
Caesar Shift substitution (monoalphabetic) Shift ∈ [0..25] Linear over Z/26Z; reversible ROT13 is Caesar with shift 13
ROT5/13/18/47 Involutive rotations Digits (5), Letters (13), Alnum (18), ASCII 33–126 (47) Self‑inverse (decode == encode) Convenience encodings; not secure
Atbash Mirror substitution None Self‑inverse A↔Z, B↔Y, … preserves case
Affine Linear substitution (monoalphabetic) a (coprime 26), b ∈ [0..25] Reversible iff gcd(a,26)=1 Decoding uses modular inverse of a
Vigenère Polyalphabetic substitution Key (letters) Repeating‑key shifts Classical; not secure vs. Kasiski/IC
Enigma (M3) Rotor machine (polyalphabetic) Rotors, positions, rings, reflector, plugboard Encode==Decode with same settings Simplified stepping model for demo
Scytale Transposition Columns Columnar read/write Ancient rod cipher; reversible
Rail Fence Transposition (zig‑zag) Rails Zig‑zag patterning Symmetric with known rails
Keyboard Map Layout mapping (non‑crypto) JIS/US right‑neighbor One‑to‑one char remap Illustrative only (no secrecy)

Support This Free Tool

Every coffee helps keep the servers running. Every book sale funds the next tool I'm dreaming up. You're not just supporting a site — you're helping me build what developers actually need.

500K+ users
200+ tools
100% private
Privacy Guarantee: Private keys you enter or generate are never stored on our servers. All tools are served over HTTPS.