Caesar Cipher Encoder, Decoder & Solver
Encrypt plain text, decrypt secret shift ciphers, or crack unknown messages instantly using the 25-shift brute force solver.
Input Text & Key
Processed Output
Brute-Force Solver (All 25 Shifts)
Crack unknown ciphertexts by inspecting all 25 possible rotation combinations simultaneously.| Shift Key | Decrypted Plaintext Output | Action |
|---|
What is the Caesar Shift Cipher?
The Caesar cipher (also known as the shift cipher or Caesar's code) is one of the earliest and simplest encryption techniques in recorded history, famously used by Julius Caesar to protect private military dispatches.
It is a type of substitution cipher in which each letter in the plaintext is shifted down the alphabet by a fixed number of positions (called the key or shift). For example, with a key of 3, 'A' becomes 'D', 'B' becomes 'E', and 'X' wraps around to 'A'.
Mathematical Formula for Caesar Cipher
Representing letters as integers from 0 to 25 (\(A = 0, B = 1, \dots, Z = 25\)), encryption and decryption are defined by modular arithmetic:
Decryption: D(x) = (x - k + 26) mod 26