Skip to main content
KBY Technologies Logo

Caesar cipher lab

Encrypt a message, then crack it by trying every key: a brute-force attack you can see.

Caesar cipher lab

ABCDEFGHIJKLMNOPQRSTUVWXYZDEFGHIJKLMNOPQRSTUVWXYZABC

Encrypted

Phhw ph eb wkh oleudub dw oxqfk

Anyone with the key can decrypt it by shifting back 3: "Meet me by the library at lunch". Without the key, there are only 25 keys to try.

Letter count in the encrypted message

In English, E is usually the most common letter. If one letter towers over the rest here, it may stand for E: another way to break the cipher.