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;
    }