Skip to main content
Cipher Visualizers home

Tag

#Block Cipher

22 articles with this tag.

A visual representation of four different TEA keys that all encrypt the same plaintext to the same ciphertext
Modern & Applied Cryptography Breakers Intermediate

TEA's Equivalent Keys and the Xbox Hack

Every TEA key has three twins that encrypt identically, because flipping the top bits of two key words cancels in the round function. That one-bit quirk shrank TEA's key to 126 bits and let hackers forge a hash to break the original Xbox. This guide runs the real thing against real TEA.

12 min read

A visual representation of the Whirlpool Algorithm
Hash Functions Advanced

The Whirlpool Algorithm

Whirlpool is a 512-bit hash function built from an AES-like block cipher that works on an 8 by 8 matrix of bytes. Learn how its S-box, column shift, and diffusion matrix work, how the Miyaguchi-Preneel mode turns the cipher into a hash, and how it compares with SHA-2.

16 min read

A visual representation of the ARIA Algorithm
Block Ciphers Advanced

The ARIA Algorithm

ARIA is South Korea's national block cipher, a close cousin of AES that shares its S-box but mixes bytes with a different, self-inverse diffusion layer. Learn how its alternating rounds, key schedule, and 1/π constants work.

17 min read

A visual representation of the Camellia Algorithm
Block Ciphers Advanced

The Camellia Algorithm

Camellia is the cipher that stands next to AES in international standards. Learn how this Japanese Feistel design combines byte S-boxes, a linear mixing layer, and key-dependent FL layers to match AES-level security.

16 min read

A visual representation of the CAST-128 Algorithm
Block Ciphers Intermediate

The CAST-128 Algorithm

CAST-128, also called CAST5, was the default cipher in some versions of PGP and GnuPG. Learn how its three alternating round functions, huge 8x32-bit S-boxes, and key-dependent rotations work, and why its 64-bit block now limits it.

25 min read

A visual representation of the GOST 28147-89 Algorithm
Block Ciphers Intermediate

The GOST 28147-89 Algorithm

GOST 28147-89 was the Soviet Union's answer to DES. Learn how its 32-round Feistel design works, why the standard left the S-boxes undefined, and how the modern Magma cipher fixed that.

14 min read

A visual representation of the RC5 and RC6 Algorithms
Block Ciphers Intermediate

The RC5 and RC6 Algorithms

RC5 and RC6 are built from just three operations: addition, XOR, and rotations whose amounts come from the data itself. Learn how Ron Rivest's flexible RC5 led to RC6, an AES finalist.

15 min read

A visual representation of the Serpent Algorithm
Block Ciphers Advanced

The Serpent Algorithm

Serpent finished second in the AES competition, and it was built to be the safest finalist. Learn how 32 rounds of tiny S-boxes and a bitslice design traded speed for one of the largest security margins of any block cipher.

15 min read

A visual representation of the Simon and Speck Algorithms
Block Ciphers Intermediate

The Simon and Speck Algorithms

Simon and Speck are two lightweight block ciphers released by the NSA in 2013 for tiny devices. Learn how Simon gets by on AND, rotate, and XOR, how Speck uses add, rotate, and XOR, and why they became some of the most debated ciphers ever published.

16 min read

A visual representation of the Skipjack Algorithm
Block Ciphers Intermediate

The Skipjack Algorithm

Skipjack was the secret NSA cipher inside the Clipper chip, declassified in 1998. Learn how its 32 rounds of alternating rules work on four 16-bit words, and why its 80-bit key and its history make it a cautionary tale.

14 min read

A visual representation of the SM4 Algorithm
Block Ciphers Intermediate

The SM4 Algorithm

SM4 is China's national block cipher standard, a 32-round design that updates one 32-bit word at a time. Learn how its byte S-box, rotate-and-XOR mixing, and compact key schedule work, and where the cipher is used.

13 min read

A visual representation of the TEA and XTEA Algorithms
Block Ciphers Beginner

The TEA and XTEA Algorithms

TEA is a block cipher small enough to write in a few lines of code, and XTEA is its repaired successor. Learn how shifts, additions, and XORs make a working cipher, and how a flaw in TEA's key handling led to a famous console hack.

14 min read

A visual representation of the Threefish Algorithm
Block Ciphers Advanced

The Threefish Algorithm

Threefish is the tweakable block cipher inside the Skein hash function, a SHA-3 finalist. Learn how it builds a strong cipher from just addition, rotation, and XOR on 64-bit words, with no S-boxes at all.

16 min read

A visual representation of breaking DES by exhaustive key search
Modern & Applied Cryptography Breakers Intermediate

Breaking DES with Brute-Force Key Search

DES never fell to clever math. It fell to a loop: try a key, encrypt a known block, compare, repeat. This post runs that exact loop against real DES, the same one EFF's Deep Crack ran over all 2⁵⁶ keys in 1998.

18 min read

A visual representation of the 3DES Algorithm
Block Ciphers Intermediate

The 3DES (Triple DES) Algorithm

DES's 56-bit key became too weak, but the industry didn't design a new cipher. It just ran DES three times. Learn how Triple DES extended the life of the original standard for another two decades.

7 min read

A visual representation of the AES-GCM Algorithm
Authenticated Encryption (AEAD) Intermediate

AES-GCM: Authenticated Encryption

AES-GCM does two jobs at once: it hides your data AND proves nobody tampered with it. Learn how Galois/Counter Mode combines AES with GHASH authentication to become the default choice for TLS, IPsec, and disk encryption.

10 min read

A visual representation of the AES Algorithm
Modern Block Cipher Intermediate

AES

AES secures nearly everything: HTTPS traffic, encrypted disks, and government secrets alike. Here's how the Rijndael cipher transforms data, round by round.

17 min read

A visual representation of the Blowfish Algorithm
Block Ciphers Intermediate

The Blowfish Algorithm

Bruce Schneier designed Blowfish as a free, fast alternative to DES, with a distinctive twist: its S-boxes are rebuilt from the encryption key through a key schedule that starts from the digits of pi. Learn how it works, with every value shown, and why it's still found in legacy systems today.

21 min read

A visual representation of the CMAC Algorithm
Message Authentication Codes Intermediate

CMAC: Cipher-Based Message Authentication

What if you already have AES in your system and don't want to bring in a separate hash function just for message authentication? CMAC builds a MAC directly from a block cipher instead.

9 min read

A visual representation of the DES Algorithm
Block Ciphers Intermediate

The DES Algorithm

The Data Encryption Standard ruled cryptography for over two decades. Learn how its Feistel network works, why its 56-bit key ultimately doomed it, and why it still matters as the foundation for 3DES and AES.

10 min read

A visual representation of the IDEA Algorithm
Block Ciphers Intermediate

The IDEA Algorithm

IDEA was one of the first ciphers to mix three completely different mathematical operations within a single round. Learn how this Swiss-designed algorithm became a mainstay of early PGP, and why it eventually gave way to AES.

11 min read

A visual representation of the Twofish Algorithm
Block Ciphers Advanced

The Twofish Algorithm

Twofish was Bruce Schneier's answer to Blowfish's biggest weakness, and one of the five finalists in the competition that chose AES. Learn how its key-dependent S-boxes, MDS matrix, and Pseudo-Hadamard Transform work, with every value of a real test vector shown.

32 min read

← All tags