encryptFileWithAES256

actual fun encryptFileWithAES256(source: Source, key: AES256Key, sink: Sink): 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

expect fun encryptFileWithAES256(source: Source, key: AES256Key, sink: Sink): 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: Source, key: AES256Key, sink: Sink): 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: Source, key: AES256Key, sink: Sink): 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