compute

expect fun compute(key: ByteArray, message: ByteArray): ByteArray

Computes HMAC-SHA256 of a message.

Return

The 32-byte HMAC

Parameters

key

The secret key

message

The message to authenticate

actual fun compute(key: ByteArray, message: ByteArray): ByteArray
actual fun compute(key: ByteArray, message: ByteArray): ByteArray