@m.buettner: With
GLIBC's rand(), there's a simple algebraic relation between bytes of your program's output: Viewing the output as an array
x
, you have
x[i] == (x[i - 3] + x[i - 31] + c[i]) % 256
, where
c[i]
is 0 with probability 0.75 and 1 with probability 0.25. This pretty much means that it can't generate any of the things you mentioned. —
Dennis Mar 23 at 17:04