trixnity-crypto-core
Toggle table of contents
4.22.0
common
Platform filter
common
Switch theme
Search in API
trixnity-crypto-core
trixnity-crypto-core
/
net.folivo.trixnity.crypto.core
/
encryptAesHmacSha2
encrypt
Aes
Hmac
Sha2
suspend
fun
encryptAesHmacSha2
(
content
:
ByteArray
,
key
:
ByteArray
,
name
:
String
,
initialisationVector
:
ByteArray
=
SecureRandom.nextBytes(16)
)
:
AesHmacSha2EncryptedData