Package-level declarations

Functions

Link copied to clipboard
actual fun secureRandomBytes(size: Int): ByteArray
expect fun secureRandomBytes(size: Int): ByteArray

Generates cryptographically secure random bytes.

actual fun secureRandomBytes(size: Int): ByteArray
Link copied to clipboard
actual fun sha256Digest(data: ByteArray): ByteArray
expect fun sha256Digest(data: ByteArray): ByteArray

Computes the SHA-256 digest of the given data.

actual fun sha256Digest(data: ByteArray): ByteArray