randomLong

private fun randomLong(from: Long, until: Long): Long(source)

Returns a random long in the range from from (inclusive) to until (inclusive) without causing overflow.