decryptFileWithAES256

expect fun decryptFileWithAES256(source: <Error class: unknown class>, sink: <Error class: unknown class>, secretKey: AES256Key): Long

Method used to decrypt some binary data using the AES256 encryption algorithm

Return

the size of the decrypted data in bytes if the decryption succeeded -1L otherwise

Parameters

source

the Source of the encrypted data that needs to be decrypted

sink

the Sink to which the plain text data will be written to

secretKey

the key used for the decryption

See also

actual fun decryptFileWithAES256(source: <Error class: unknown class>, sink: <Error class: unknown class>, secretKey: AES256Key): Long
actual fun decryptFileWithAES256(source: <Error class: unknown class>, sink: <Error class: unknown class>, secretKey: AES256Key): Long