The algorithm used is a "linear congruential generator", the same one
used in scala.util.Random or in java.util.Random.
Note that the generated numbers are not cryptographically secure.
Consider instead using java.security.SecureRandom to get a
cryptographically secure pseudo-random number generator for use by
security-sensitive applications.
Functions for generating pseudo-random numbers.
The algorithm used is a "linear congruential generator", the same one used in
scala.util.Random
or injava.util.Random
.Note that the generated numbers are not cryptographically secure. Consider instead using
java.security.SecureRandom
to get a cryptographically secure pseudo-random number generator for use by security-sensitive applications.Credits: