toggle menu
Kotlin-nRF Mesh-Library
jvm
switch theme
search in API
crypto
/
no.nordicsemi.kotlin.mesh.crypto
/
Crypto
/
calculateECB
calculate
ECB
fun
calculateECB
(
data
:
ByteArray
,
key
:
ByteArray
)
:
ByteArray
Calculates Electronic Code Book (ECB) for the given
data
and
key
.
Parameters
data
the input data.
key
the 128-bit key.