4. Substitution#
As we’ve learned in a previous section, substitution ciphers require a mapping between a plaintext letter and a corresponding ciphertext letter. There are numerous ways to map a plaintext letter to a ciphertext letter, and we’ll see the more mathematics you know the more secure a system you’ll be able to devise. To start, we’ll focus on monoalphabetic substitution ciphers.
Monoalphabetic Substitution Cipher: a cipher in which each letter of the plaintext alphabet is sent to one and only one letter in the ciphertext alphabet, and vice versa. As a result, no two letters are sent to the same letter. We call this mono alphabetic because there’s one and only one ciphertext alphabet for each plaintext alphabet. We’ll see later on in the course that there are encryption schemes that use multiple ciphertext alphabets when enciphering a message.