Compact, digital pseudorandom number generator