kcoap
Toggle table of contents
common
Target filter
common
Switch theme
Search in API
Skip to content
kcoap
kcoap-crypto
/
dev.kcoap.crypto
/
CryptoBackend
/
hmac
hmac
abstract
suspend
fun
hmac
(
algorithm
:
HashAlgorithm
,
key
:
ByteArray
,
data
:
ByteArray
)
:
ByteArray
(
source
)
HMAC with a SHA-2 hash. Not defined for SHAKE256, which uses KMAC instead.