Okta Mobile Kotlin SDK
Toggle table of contents
android
common
jvm
Target filter
android
common
jvm
Switch theme
Search in API
Skip to content
Okta Mobile Kotlin SDK
auth-foundation
/
com.okta.authfoundation.crypto
Package-level
declarations
Functions
Functions
secure
Random
Bytes
Link copied to clipboard
android
common
jvm
actual
fun
secureRandomBytes
(
size
:
Int
)
:
ByteArray
expect
fun
secureRandomBytes
(
size
:
Int
)
:
ByteArray
Generates cryptographically secure random bytes.
actual
fun
secureRandomBytes
(
size
:
Int
)
:
ByteArray
sha256Digest
Link copied to clipboard
android
common
jvm
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