dimanche 5 août 2018

How to generate all possibile 64 bit random values in java?

Does Java SecureRandom NextLong() able to return all possible values given it inherits from Random which uses only 48 bits? If not, can I still do it in java maybe by modifying the Random class and how to do it? I just want to use a truely all random long number generator if possible. Thanks.




Aucun commentaire:

Enregistrer un commentaire