Porta
The Porta Cipher is a classical polyalphabetic substitution cipher named after the Italian scholar Giambattista della Porta, who described it in the 16th century. It is a variant of the polyalphabetic cipher family, similar in principle to the Vigenère Cipher, but with a reciprocal structure that makes encoding and decoding symmetrical—using the same process in reverse produces the original text.
Vigenère
The Vigenère Cipher is a classical polyalphabetic substitution cipher that uses a repeating keyword to determine shifting values for each letter in a message. Unlike the Caesar Cipher, which applies a single fixed shift, the Vigenère Cipher changes the shift for every letter based on the key. This shifting pattern significantly reduces simple frequency analysis.
It can be viewed as a systematic expansion of the Trithemius Cipher, which uses a progressive shifting pattern instead of a repeating keyword.
Trifid
The Trifid Cipher is a classical polygraphic cipher that extends the principles of the Bifid Cipher by using three-dimensional coordinates. It combines substitution and transposition to encrypt messages in a way that mixes letters across multiple positions, providing higher security than simple monoalphabetic or basic polygraphic ciphers.
Running Key
The Running Key Cipher is a polyalphabetic substitution cipher that uses a long piece of text as the key instead of a short repeating keyword. The key must be at least as long as the plaintext. Each letter of the plaintext is combined with the corresponding letter of the key using modular arithmetic based on the alphabet.
Polygraphia
The Polygraphia Cipher originates from the work Polygraphia, a 16th-century cryptographic treatise written by the German abbot and polymath Johannes Trithemius and first published in 1518. The book is considered the first printed work devoted entirely to cryptography. Among its many systems, Trithemius introduced a progressive substitution method in which the encryption alphabet changes with each letter of the message.
Polyalphabetic
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
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
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
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
The Digraph Cipher is a classical encryption method that processes plaintext two letters at a time — forming units known as digraphs. By operating on pairs instead of single characters, it disrupts simple letter-frequency patterns, making it more resilient than monoalphabetic systems like the Simple Substitution Cipher.