...-bit key.
The BEDBUG generator itself is a mere 5 lines of code: Three rotations; two pseudo-random lookups.
The default BEDBUG configuration alternates the rotation constants unpredictably. These four sets of three values differ between BEDBUG128, BEDBUG256 and BEDBUG512 and were selected, tuned and tested in each case for optimal avalanche, which is never less than 16.5 bits.
BEDBUG has passed stringent industry-standard tests for randomness, including NIST and DIEHARD.