cha Cha20Poly1305Encrypt Detached
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
expect fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
Encrypt the message and return encrypted data and tag using ChaChaPoly1305 (64 bit nonce) as separate arrays (but wrapped inside AeadEncryptedDataAndTag)
Return
encrypted data and tag wrapped inside AeadEncryptedDataAndTag data class instance
Parameters
message
message to encrypt
associated Data
associated data the won't be encrypted, but will be authenticated
nonce
a unique nonce
key
secret key
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag
actual fun chaCha20Poly1305EncryptDetached(message: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): AeadEncryptedDataAndTag