Polyalphabetic Cipher

The Polyalphabetic Cipher is a class of substitution ciphers that uses multiple cipher alphabets instead of a single one. Unlike a simple substitution cipher where each plaintext letter always maps to the same ciphertext letter, a polyalphabetic system changes the substitution depending on position in the message. This shifting pattern helps obscure letter frequencies, making the cipher far more resistant to classical frequency analysis.

Playfair Cipher

The Playfair Cipher is a digraph substitution cipher invented by Charles Wheatstone in 1854 and popularized by Lord Playfair. Instead of encoding single letters, it encrypts pairs of letters (digraphs) using a 5×5 grid constructed from a keyword. This makes it significantly stronger than simple monoalphabetic ciphers because frequency analysis is applied to letter pairs rather than single letters.

Four Square Cipher

The Four Square Cipher is a classical polygraphic substitution cipher invented by Félix Delastelle around 1902. It encrypts text two letters at a time (digraphs) using four 5×5 letter squares arranged in a larger square formation. By operating on pairs of letters instead of single characters, it significantly complicates frequency analysis compared to simple monoalphabetic systems.

Enigma Cipher

The Enigma Cipher was invented by Arthur Scherbius in 1918 and later adapted for military use by Germany in the 1920s and 1930s. Unlike simple substitution systems such as the Simple Substitution Cipher, Enigma implemented a continuously changing polyalphabetic substitution. Each keypress rotated internal components, meaning the same letter could encrypt differently each time it appeared.

Digraph Cipher

The Digraph Cipher is a classical encryption technique that encodes plaintext two letters at a time — in units called digraphs. By encrypting pairs of letters instead of individual letters, it hides single-letter frequency patterns, making simple frequency analysis ineffective. This is why it is stronger than single-letter substitution ciphers like the Simple Substitution Cipher.

Chaocipher

The Chaocipher is a sophisticated and historically intriguing cipher invented by John F. Byrne in 1918. Unlike traditional substitution ciphers, the Chaocipher uses two rotating disks—one for the plaintext alphabet and one for the ciphertext alphabet—both of which are permuted after each letter is encrypted. This dynamic reordering ensures that the same plaintext letter never encrypts to the same ciphertext letter twice in a row, creating a highly irregular polyalphabetic system.

Beaufort Cipher

The Beaufort Cipher is a polyalphabetic substitution cipher closely related to the Vigenère Cipher. Invented by Sir Francis Beaufort in the 19th century, it uses a reversed encryption mechanism compared to Vigenère: instead of adding key values to plaintext letters, the plaintext letters are subtracted from the key letters modulo 26. This results in a symmetric system where encryption and decryption processes are identical, simplifying usage while retaining polyalphabetic complexity.

Autokey Cipher

The Autokey Cipher is a polyalphabetic substitution cipher designed to reduce the repetition vulnerabilities found in simpler systems such as the Caesar Cipher. Instead of using a short, repeating key, the Autokey Cipher extends the key by appending the plaintext itself after an initial keyword. This produces a variable-length key that is as long as the message, effectively minimizing repeated patterns and increasing resistance to frequency analysis.

Alberti Cipher

The Alberti Cipher, invented by Leon Battista Alberti in the 15th century, is widely regarded as the first polyalphabetic cipher. It introduced the revolutionary concept of using multiple cipher alphabets to encrypt a message, rather than relying on a single fixed substitution. This approach significantly reduced the effectiveness of frequency analysis, which had compromised simpler monoalphabetic ciphers such as the Simple Substitution Cipher.