trixnity
Toggle table of contents
5.2.0-SNAPSHOT.CI-20260302.101522
common
Target filter
common
Switch theme
Search in API
Skip to content
trixnity
trixnity-crypto-core
/
de.connect2x.trixnity.crypto.core
/
encryptAesHmacSha2
encrypt
Aes
Hmac
Sha2
suspend
fun
encryptAesHmacSha2
(
content
:
ByteArray
,
key
:
ByteArray
,
name
:
String
,
initialisationVector
:
ByteArray
=
SecureRandom.nextBytes(16)
)
:
AesHmacSha2EncryptedData