kotlin-stdlib / kotlin.random / java.util.Random / asKotlinRandom asKotlinRandom JVM 1.3 fun Random.asKotlinRandom(): Random Creates a Kotlin Random instance that uses the specified java.util.Random generator as a randomness source.