encrypt

abstract suspend fun encrypt(    source: <Error class: unknown class>,     outputSink: <Error class: unknown class>,     authenticationData: AuthenticationData)

Encrypts the source data using the provided authenticationData. The result is fed into the outputSink.

Return

a UByteArray containing the extra data that might be needed for decryption depending on the implementation.

See also