cha Cha20Poly1305Ietf Decrypt
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
expect fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
Check if authentication data (tag) is correct, then decrypt the message and return decrypted data. Using ChaChaPoly1305-IETF (96 bit nonce)
Return
decrypted data
Parameters
ciphertext And Tag
message to decrypt
associated Data
associated data the won't be encrypted, but will be authenticated
nonce
a nonce used to encrypt the message
key
secret key
Throws
if authentication data (tag) cannot be verified
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray
actual fun chaCha20Poly1305IetfDecrypt(ciphertextAndTag: UByteArray, associatedData: UByteArray, nonce: UByteArray, key: UByteArray): UByteArray