complete pseudo-random generator