mardi 26 avril 2016

Distribution of php's random_int() function

What is the distribution of php's random_int function?

I guess it comes down to the distribution of getrandom(2) and /dev/urandom? How are they distributed?

Can random_int be used for a uniform distributed random number generator?




Aucun commentaire:

Enregistrer un commentaire