Symmetric

Stream ciphers

A stream cipher generates a pseudo-random keystream from a key and nonce, which is XORed with the plaintext. Stream ciphers are fast and need no padding, but they must never reuse a key and nonce pair and provide no integrity on their own.

37 algorithms 20 families

Modern software stream ciphers are mostly ARX designs such as ChaCha and Salsa20, or block ciphers in counter mode. Hardware-oriented designs such as Trivium, ZUC and SNOW use linear or nonlinear feedback shift registers with non-linear filters. The eSTREAM project from 2004 to 2008 produced a portfolio of recommended designs, several of which appear in NextSSL.

Reusing a nonce lets an attacker recover the XOR of two plaintexts, and flipping a ciphertext bit flips the corresponding plaintext bit. For this reason stream ciphers are almost always deployed inside an AEAD construction such as ChaCha20-Poly1305 or AES-GCM.

Families

20
AES-CTRstandard

Counter mode: turns AES into a fast, parallel stream cipher

3 variants · aes-128-ctr aes-192-ctr aes-256-ctr
AES-OFBstandard

Output Feedback mode: a synchronous stream cipher from repeatedly encrypting the IV

3 variants · aes-128-ofb aes-192-ofb aes-256-ofb
ChaChastandard

Bernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic

4 variants · chacha12 chacha20 chacha8 xchacha20
Rabbitstandard

A high-speed stream cipher in the eSTREAM software portfolio, specified in RFC 4503

1 variant · rabbit
Salsa20standard

Bernstein's eSTREAM-portfolio ARX stream cipher and the core of scrypt and NaCl

4 variants · salsa20 salsa20-12 salsa20-8 xsalsa20
A5 (GSM stream ciphers)legacy

The GSM voice-encryption stream ciphers A5/1 to A5/4, two of them broken and two legacy

4 variants · a5-1 a5-2 a5-3 a5-4
GEA (GPRS encryption algorithms)legacy

The GPRS stream ciphers GEA1 to GEA4, one broken, one unverified and two legacy

4 variants · gea1 gea2 gea3 gea4
RC4broken

Rivest's 1987 byte-oriented stream cipher, once ubiquitous and now prohibited in TLS

1 variant · rc4
ZUCresearch

The Chinese-designed stream cipher behind 3GPP's 128-EEA3 and 128-EIA3 algorithms

2 variants · zuc zuc-256
CryptMTunverified

A Mersenne Twister-based stream cipher from the eSTREAM project

1 variant · cryptmt
Dragonunverified

A word-based NLFSR stream cipher that reached the final phase of eSTREAM

1 variant · dragon
HC-256unverified

Hongjun Wu's table-driven software stream cipher with a 256-bit key and IV

1 variant · hc256
Hitag2unverified

NXP's 48-bit RFID stream cipher used in car immobilisers; practically broken

1 variant · hitag2
LEXunverified

Biryukov's leak-extraction stream cipher, which outputs bytes from inside AES rounds

1 variant · lex
SEAL 3.0unverified

A 1990s software-oriented stream cipher by Rogaway and Coppersmith with a 160-bit key

1 variant · seal
SNOW 2.0unverified

A word-oriented LFSR stream cipher, standardised in ISO/IEC 18033-4 and parent of SNOW 3G

1 variant · snow-2-0
SOBER-128unverified

A Qualcomm word-oriented stream cipher with a nonlinear filter and built-in MAC

1 variant · sober-128
Sosemanukunverified

A software-oriented eSTREAM stream cipher combining an LFSR with Serpent S-boxes

1 variant · sosemanuk
Tango642unverified

A stream cipher entry wired from source whose specification NextSSL has not documented

1 variant · tango642
Triviumunverified

A minimal hardware stream cipher in the eSTREAM portfolio, standardised in ISO/IEC 29192-3

1 variant · trivium