More PractRand Passes: ChaCha & Truncated XorShift*
Continuing my recent burst of PRNG testing with PractRand, here are a few more passes, this time for the generators I mentioned in my post on reasonable alternatives to PCG.
ChaCha<3>ChaCha<4>- XorShift* 64/32 (i.e., high 32 bits of 64-bit XorShift*)
- XorShift* 128/64 (i.e., high 64 bits of 128-bit XorShift*)
None of these results should be a surprise. In the PCG paper, I looked at truncated XorShift* generators and onserved that they passed TestU01 with plenty of headroom. Nevetheless, it's nice to confirm.
Also, none of these generators are trivially predictable (but obviously the smaller XorShift versions can be fairly quickly brute forced). ChaCha obviously has much stronger prediction difficulty, given that with more rounds it is considered cryptographically secure. When simply trying to protect against algorithmic complexity attacks, I think four rounds is fine.