Generate PRBS

Ikersaldado:
Hi, would anyone be able to help me out with generating a prbs signal from the arduino? I need a 1kHz 8 bit PRBS signal which I'm going to add to a circuit I have built on my breadboard.

In the past, I've generated PRBS by loading a value into a shift register and cycling through it.