Skip to content

Comment on Zero Tolerance for Biasparent

Comments

In Monte Carlo simulations you usually don't care about predictability (so using a non-CSPRNG is fine), but statistical bias may compromise your results.

But I agree that a CSPRNG should be the default.

If the modulus fits in 16 bits and the raw random number is 64 bits I don't think your results are going to be compromised.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.