encrypt

open suspend override fun encrypt(source: <Error class: unknown class>, outputSink: <Error class: unknown class>, authenticationData: XChaChaPoly1305AuthenticationData)

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