generateSecret

fun generateSecret(bytes: Int = 32): String

Generates a secure random secret of the given bytes length, encoded as Base64.