Glossary · C
Cipher
An algorithm that turns plaintext into ciphertext, and vice versa, according to a key. It differs from a code, which replaces whole words or phrases with symbols agreed in a codebook.
In practice: the Caesar cipher shifts each letter; a code would replace “attack at dawn” with a conventional word such as “rose”.
Where it is discussed
- Caesar cipherHistory of ciphers