Rabbit
A high-speed stream cipher in the eSTREAM software portfolio, specified in RFC 4503
Overview
Rabbit is a stream cipher published in 2003 by Martin Boesgaard and colleagues at Cryptico. It was selected for the eSTREAM software portfolio and is documented in RFC 4503. It uses a 128-bit key and an optional 64-bit IV.
Rabbit's state consists of eight 32-bit state variables and eight 32-bit counters with a carry bit. On each iteration the counters are incremented with carry, and each state variable is updated from a non-linear function g that squares a 32-bit sum into 64 bits and XORs the high and low halves, combined with rotations of neighbouring values. 128 bits of output are extracted per iteration from combinations of the state words.
Rabbit was designed for fast software on 32-bit processors. It became free to use in 2008. NextSSL includes Rabbit as an eSTREAM portfolio cipher. It is also used in some embedded products and mobile applications that needed a fast unpatented cipher. Its key setup is fast. Its 513-bit internal state is compact for software.
History
2003–2008Rabbit published
ECRYPT launches eSTREAM to find new stream ciphers
eSTREAM project34 designs submitted
eSTREAM projectFinal eSTREAM portfolio published
eSTREAM project
Security notes
No practical attacks on Rabbit are known. As with all stream ciphers, a key and IV pair must never be reused, and Rabbit provides no integrity on its own.
Typical uses
Variants in NextSSL
1| Algorithm | Tier | Sizes (bytes) | Standards | API |
|---|---|---|---|---|
| Rabbit rabbit |
standard | key 16 · nonce 8 | RFC 4503, eSTREAM portfolio (software profile 1) | safe |
Frequently asked questions
Which Rabbit variants does NextSSL include?
NextSSL registers 1 Rabbit variant: rabbit.
Families with similar names
Other stream ciphers
All 37Related
ARX stream cipher with a one-time Poly1305 MAC; fast and constant-time in software
ChaChaBernstein's ARX stream cipher; ChaCha20 secures much of today's TLS, SSH and VPN traffic
HC-256Hongjun Wu's table-driven software stream cipher with a 256-bit key and IV
Salsa20Bernstein's eSTREAM-portfolio ARX stream cipher and the core of scrypt and NaCl