Skip to main content
Cipher Visualizers home

Tag

#Classic Cipher

26 articles with this tag.

A visual representation of the ADFGVX Cipher
Basic Classic Symmetric Advanced

The ADFGVX Cipher

Learn about ADFGVX, the German WWI field cipher that combined Polybius-square fractionation with columnar transposition. It was considered so strong that French cryptanalyst Georges Painvin needed weeks to break a message that helped stop a 1918 offensive.

14 min read

A visual representation of breaking the Affine Cipher
Basic Classic Symmetric Breakers Beginner

Breaking the Affine Cipher

Learn how to break the Affine cipher by brute-forcing its entire 312-key keyspace and scoring each decryption with a common-word heuristic. It's the same strategy that cracks Caesar, just applied to a slightly bigger lock.

15 min read

A visual representation of the Affine Cipher
Basic Classic Symmetric Beginner

The Affine Cipher

Learn about the Affine cipher, a generalization of the Caesar cipher that combines multiplication and addition to create a larger, but still breakable, keyspace.

14 min read

A visual representation of the Atbash Cipher
Basic Classic Symmetric Beginner

The Atbash Cipher

Learn about the Atbash cipher, one of the oldest known substitution ciphers, where each letter is mirrored to the opposite end of the alphabet.

11 min read

A visual representation of the Autokey Cipher
Basic Classic Symmetric Intermediate

The Autokey Cipher

Learn about the Autokey cipher, the Vigenère variant that fixes the repeating-key weakness by folding the plaintext itself into the key stream. That closes the door on Kasiski examination.

14 min read

A visual representation of the Bacon's Cipher
Basic Classic Symmetric Beginner

Bacon's Cipher

Learn about Bacon's cipher, Francis Bacon's 17th-century biliteral system that hides a secret message not by scrambling it, but by encoding it into which of two typefaces each letter of an innocent-looking cover text uses.

13 min read

A visual representation of breaking the Beaufort Cipher
Basic Classic Symmetric Breakers Intermediate

Breaking the Beaufort Cipher

The Beaufort cipher's reciprocal formula (C = K − P instead of Vigenère's C = P + K) looks like it should matter to an attacker. It doesn't: the same Kasiski examination, Index of Coincidence, and chi-squared pipeline that breaks Vigenère breaks Beaufort just as cleanly.

16 min read

A visual representation of the Beaufort Cipher
Basic Classic Symmetric Intermediate

The Beaufort Cipher

Learn about the Beaufort cipher, a Vigenère variant that flips the subtraction around to become its own inverse. The same formula both encrypts and decrypts.

11 min read

A visual representation of the Bifid Cipher
Basic Classic Symmetric Advanced

The Bifid Cipher

Learn about the Bifid cipher, Félix Delastelle's fractionating cipher that scrambles a Polybius square's coordinates across an entire message, defeating single-letter frequency analysis far more thoroughly than plain substitution.

14 min read

A visual representation of breaking the Columnar Transposition Cipher
Basic Classic Symmetric Breakers Intermediate

Breaking the Columnar Transposition Cipher

Columnar transposition doesn't hide letters. It just rearranges them, so frequency analysis finds nothing wrong. Learn the attack that actually works: brute-forcing every column order for each candidate key length, scored by common English substrings.

18 min read

A visual representation of the Columnar Transposition Cipher
Basic Classic Symmetric Beginner

The Columnar Transposition Cipher

Learn about the columnar transposition cipher, a classic cipher that scrambles the order of letters instead of replacing them. Learn why combining it with substitution led to some of the toughest hand ciphers ever used.

13 min read

A visual representation of the Enigma Machine
Basic Classic Symmetric Advanced

The Enigma Machine

Learn how the Enigma machine worked: the WWII German cipher machine that produced a different substitution alphabet for every single keystroke. Its defeat by Alan Turing and Bletchley Park changed the course of the war.

17 min read

A visual representation of the Four-Square Cipher
Basic Classic Symmetric Intermediate

The Four-Square Cipher

Learn about the four-square cipher, a digraph substitution cipher that uses four 5x5 grids to encrypt letter pairs without Playfair's awkward same-row and same-column special cases.

12 min read

A visual representation of the Nihilist Cipher
Basic Classic Symmetric Intermediate

The Nihilist Cipher

Learn about the Nihilist cipher, the 19th-century Russian revolutionary cipher that turns a Polybius square into a polyalphabetic system by adding coordinate numbers together instead of shifting letters.

13 min read

A visual representation of the One-Time Pad
Basic Classic Symmetric Intermediate

The One-Time Pad

Learn about the one-time pad, the only cipher in this series that is mathematically proven unbreakable, and why that proof rests on three conditions that are almost impossible to satisfy in practice.

15 min read

A visual representation of the Polybius Square
Basic Classic Symmetric Beginner

The Polybius Square Cipher

Learn about the Polybius square, the ancient Greek cipher that turns every letter into a pair of coordinates. It became the foundation for tap codes, telegraph ciphers, and the ADFGVX cipher.

12 min read

A visual representation of breaking the monoalphabetic Substitution Cipher
Basic Classic Symmetric Breakers Advanced

Breaking the Substitution Cipher

A monoalphabetic substitution key is one arbitrary permutation of 26 letters: 26! of them, far too many to brute force and immune to Kasiski or the Index of Coincidence since there's no repeating key. Here's how frequency analysis and a hill-climbing search crack it anyway.

26 min read

A visual representation of the Monoalphabetic Substitution Cipher
Basic Classic Symmetric Beginner

The Monoalphabetic Substitution Cipher

Learn about the monoalphabetic substitution cipher, the general family of ciphers that Caesar, Atbash, and Affine are all special cases of, and why its huge keyspace still isn't enough to make it secure.

12 min read

A visual representation of the Two-Square Cipher
Basic Classic Symmetric Intermediate

The Two-Square Cipher

Learn about the two-square cipher, a digraph substitution cipher that sits between Playfair's single grid and four-square's four grids: two independently keyed squares, one uniform encryption rule.

13 min read

A visual representation of the Vigenère Cipher Algorithm Breaker
Basic Classic Symmetric Breakers Intermediate

The Vigenère Cipher Breaking Guide

For three centuries the Vigenère cipher was called 'le chiffre indéchiffrable.' Learn the two statistical techniques, Kasiski examination and the Index of Coincidence, that finally broke it, and watch them recover a real key letter by letter.

17 min read

A visual representation of the Hill Cipher Algorithm
Basic Classic Symmetric Beginner

The Hill Cipher

Lester Hill brought matrix multiplication to cryptography in 1929. It was the first cipher to encrypt whole blocks of letters at once.

7 min read

Breaking the Caesar Cipher with A Python Script
Basic Classic Symmetric Breakers Beginner

The Caesar Cipher Breaking Guide

Breaking the Caesar Cipher: A Python Journey from Comprehensive to Concise

15 min read

A visual representation of the Vigenère Cipher Algorithm
Basic Classic Symmetric Beginner

The Vigenère Cipher Guide

The Vigenère Cipher: A Journey Through History and Modern Applications.

12 min read

A visual representation of the Caesar Cipher Algorithm
Basic Classic Symmetric Beginner

The Caesar Cipher

Learn about one of the simplest and most widely known encryption techniques, the Caesar cipher.

12 min read

← All tags