crypto / org.apache.tuweni.crypto.sodium / SecretEncryptionStream / pushLast

pushLast

open fun pushLast(clearText: Bytes): Bytes (source)
open fun pushLast(clearText: ByteArray): ByteArray (source)

Push the final message to this secret stream.

Parameters

clearText - The message to encrypt.

Return
The encrypted message.