23 ms·
Monte Carlo integration, one of the most important application of PRNG, needs the speed of non-CSPRNG. However, I do agree that programming languages these day
by FabHK 9y ago
Monte Carlo integration, one of the most important application of PRNG, needs the speed of non-CSPRNG.
However, I do agree that programming languages these day should probably make a CSPRNG the default, and let you switch to a fast PRNG when needed. (Now it's by and large the other way around – you get a fast PRNG and need to switch to a secure one.)
If you know what you're doing, the outcome is the same, but if you don't, in the first case you're unnecessarily slow, while in the second you're unnecessarily insecure.