Stream Cipher where are independent random
We can use Linear Feedback Shift Register to register the keys
But if the shift register has length ,
then the maximum period is
So we can break by Berlekamp-Massey algorithm