Pseudo-random bit generation