static function integer($range = Constants::RANGE)
    {
        # Test the length for validity.
        Helpers::rangeCheck($range, Constants::RANGE_MAX, Constants::RANGE_MIN, 'Entropy', 'integer');

        return \Sodium\randombytes_uniform($range) + 1;
    }
static function integer($range = Constants::RANGE)
    {
        # Test the length for validity.
        Helpers::rangeCheck($range, Constants::RANGE_MAX, Constants::RANGE_MIN, 'Entropy', 'integer');

        return \Sodium\randombytes_uniform($range) + 1;
    }
static function integer ( $ range = Constants :: RANGE ) { # Test the length for validity. Helpers :: rangeCheck ( $ range , Constants :: RANGE_MAX , Constants :: RANGE_MIN , 'Entropy' , 'integer' ) ; return \ Sodium \ randombytes_uniform ( $ range ) + 1 ; }
Returns a random integer to the client.

@param int $range Upper limit of random numbers to return to the client.
@return int
@throws Exceptions\InvalidTypeException
@throws Exceptions\OutOfRangeException
Returns a random integer to the client .