Answers for "kotlin method to generate random string"

5

random string generator kotlin

private fun randomID(): String = List(16) {
  (('a'..'z') + ('A'..'Z') + ('0'..'9')).random()
}.joinToString("")
Posted by: Guest on July-11-2020

Code answers related to "kotlin method to generate random string"

Browse Popular Code Answers by Language