Stream cipher family

Rabbit

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

standard 1 variant RFC 4503; eSTREAM portfolio

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–2008
  1. Rabbit published

  2. ECRYPT launches eSTREAM to find new stream ciphers

    eSTREAM project
  3. 34 designs submitted

    eSTREAM project
  4. Final 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

Fast software encryptioneSTREAM portfolio research

Variants in NextSSL

1
AlgorithmTierSizes (bytes)StandardsAPI
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