Skip to main content
Cipher Visualizers home

Tag

#Stream Cipher

11 articles with this tag.

A visual representation of the FMS attack voting to recover each byte of a WEP key from weak IVs
Modern & Applied Cryptography Breakers Advanced

Breaking WEP with the FMS Attack on RC4

WEP bolted RC4 onto a 3-byte IV sent in the clear, and that choice was fatal. The Fluhrer-Mantin-Shamir attack recovers the shared key from the first byte of thousands of weak-IV packets. This guide runs the real attack against real RC4 and recovers the key byte by byte.

14 min read

A visual representation of the A5/1 Stream Cipher
Stream Ciphers Intermediate

The A5/1 Stream Cipher

A5/1 protected GSM phone calls for decades. Learn how three small shift registers that move at irregular times produce keystream, why the cipher was kept secret, and how researchers broke it in practice.

16 min read

A visual representation of the E0 Stream Cipher
Stream Ciphers Advanced

The E0 Stream Cipher

E0 is the stream cipher that has protected Bluetooth connections since the late 1990s. Learn how four shift registers and a tiny state machine produce keystream, how the session key and clock are loaded, and why E0 is now considered broken.

20 min read

A visual representation of the Grain Stream Cipher Family
Stream Ciphers Advanced

The Grain Stream Cipher Family

Grain pairs a linear shift register with a nonlinear one and filters them into a keystream. Learn how Grain v1 and Grain-128 work, why they were designed for tiny hardware, and what attacks have taught designers about them.

17 min read

A visual representation of the Rabbit Stream Cipher
Stream Ciphers Intermediate

The Rabbit Stream Cipher

Rabbit is a fast software stream cipher from Cryptico, and it was one of the winners of the eSTREAM competition. Learn how eight counters, eight state words, and one squaring trick turn a 128-bit key into a stream of keystream blocks.

17 min read

A visual representation of the SEAL Stream Cipher
Stream Ciphers Advanced

The SEAL Stream Cipher

SEAL is a stream cipher that lets you jump to any position in its keystream. Learn how it uses the SHA-1 compression function to build tables from a 160-bit key, and how a few additions and lookups per word make it fast on 32-bit processors.

17 min read

A visual representation of the Trivium Stream Cipher
Stream Ciphers Intermediate

The Trivium Stream Cipher

Trivium is one of the smallest strong stream ciphers ever designed. Learn how three shift registers, a few XORs, and three AND gates build a cipher that fits in about 3,500 gates and made it into the eSTREAM hardware portfolio.

13 min read

A visual representation of the RC4 second-byte keystream bias
Modern & Applied Cryptography Breakers Intermediate

Breaking RC4 with Its Second-Byte Bias

RC4's second keystream byte is zero twice as often as it should be. Encrypt the same secret enough times, under any keys at all, and that one flaw hands the secret's second byte straight to anyone watching the ciphertexts.

12 min read

A visual representation of the ChaCha20-Poly1305 Algorithm
Authenticated Encryption (AEAD) Intermediate

ChaCha20-Poly1305: The Mobile-Friendly AEAD

TLS 1.3's second mandatory cipher suite pairs ChaCha20 encryption with the Poly1305 message authenticator, delivering AES-GCM-equivalent security without needing any special hardware. Here's how the pairing works.

9 min read

A visual representation of the RC4 Algorithm
Stream Ciphers Beginner

The RC4 Stream Cipher

RC4 was the simplest, fastest cipher of its era. It powered SSL, WEP, and WPA for over a decade before a decade of accumulating bias attacks quietly killed it. Learn how it works and exactly why it's insecure today.

8 min read

A visual representation of the Salsa20 and ChaCha20 Algorithms
Stream Ciphers Intermediate

Salsa20 and ChaCha20

Designed by Daniel J. Bernstein as a fast, secure, RC4-free alternative for software encryption, ChaCha20 now secures TLS 1.3 and WireGuard alike. Learn how its add-rotate-XOR "quarter round" builds a full cipher from pure arithmetic.

9 min read

← All tags