encryptFileWithAES256

expect fun encryptFileWithAES256(source: <Error class: unknown class>, key: AES256Key, sink: <Error class: unknown class>): Long

Method used to encrypt binary data using the AES256 encryption algorithm

Return

the size of the encrypted data in bytes if the encryption succeeded and 0 otherwise

Parameters

source

the Source of the plain text data that needs to be encrypted

key

the symmetric secret AES256Key that will be used for the encryption

sink

the Sink which the encrypted data will be written to

See also

actual fun encryptFileWithAES256(source: <Error class: unknown class>, key: AES256Key, sink: <Error class: unknown class>): Long
actual fun encryptFileWithAES256(source: <Error class: unknown class>, key: AES256Key, sink: <Error class: unknown class>): Long