trixnity-crypto-core
4.0.0-beta1
common
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