SecureRandom

internal actual class SecureRandom
internal actual class SecureRandom
internal expect class SecureRandom
internal actual class SecureRandom

Constructors

Link copied to clipboard
actual constructor()
actual constructor()
internal expect constructor()
actual constructor()

Functions

Link copied to clipboard
actual fun nextBytes(length: Int): ByteArray
actual fun nextBytes(length: Int): ByteArray
expect fun nextBytes(length: Int): ByteArray
actual fun nextBytes(length: Int): ByteArray
Link copied to clipboard
actual fun nextInt(bound: Int): Int
actual fun nextInt(bound: Int): Int
expect fun nextInt(bound: Int): Int
actual fun nextInt(bound: Int): Int
Link copied to clipboard
actual fun serviceInfo(): <Error class: unknown class>?
actual fun serviceInfo(): <Error class: unknown class>?

Apple platforms have no security provider registry, so there is nothing to report.

expect fun serviceInfo(): <Error class: unknown class>?

Which security provider serves this randomness, for the security providers debug screen.

actual fun serviceInfo(): <Error class: unknown class>?