A circuit for controlling the random character of a bit flow, including an input
shift register receiving the bit flow and having its outputs exploited in parallel,
at least one element for comparing at least a partial content of the input register
with predetermined patterns, a plurality of counters in a number at most equal
to the number of predetermined patterns, and an element for detecting the exceeding
of at least one threshold by one of the counters, the result of this detection
conditioning the state of a word or bit indicative of the random or non-random
character of the bit flow.