darksignalroom

Solving a Caesar cipher by hand

Learn how a Caesar shift wraps past Z and use one likely word to find the key in a short message.

A Caesar cipher moves every letter by the same number of places. With a shift of +4, A becomes E and B becomes F. Starting at Z, four steps to the right take you through A, B, and C to D. Picture the alphabet as a ring so the same counting rule works across the boundary. MIT's Caesar cipher lecture notes

Reverse the shift

Shifting ZEBRA forward by four gives DIFVE. To read it again, move D four places left to get Z, then move I four places left to get E. Apply that same backward shift to the remaining letters.

When the key is unknown, test a likely short word. Suppose the middle word in STIR XLI FSB is THE. It takes four steps left to go from X to T, L to H, and I to E. Apply that shift to the full message and you get OPEN THE BOX. A match in a short word gives you a candidate. A readable sentence lets you check it across more letters.

Try a shift of seven

Move each letter in ZLUK H THW seven places left. The middle H becomes A, and the opening Z becomes S. The answer is SEND A MAP. In the Caesar cipher dial, selecting a key of seven moves the ciphertext seven places backward.