- convertLongToInt
Convert a long value to an int value. Values larger than the biggest int value
is converted to the b
- compareInt
Compare two values. Returns -1 if the first value is smaller, 1 if bigger, and 0
if equal.
- compareLong
Compare two values. Returns -1 if the first value is smaller, 1 if bigger, and 0
if equal.
- generateAlternativeSeed
Generate a seed value, using as much unpredictable data as possible.
- getSecureRandom
- randomInt
Get a pseudo random int value between 0 (including and the given value
(excluding). The value is not
- roundUpLong
Round the value up to the next block size. The block size must be a power of
two. As an example, usi
- secureRandomBytes
Get a number of cryptographically secure pseudo random bytes.
- warn
Print a message to system output if there was a problem initializing the random
number generator.