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

pushLast

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

Push the final message to this secret stream.

Parameters

clearText - Bytes!: The message to encrypt.

Return
Bytes!: The encrypted message.

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

Push the final message to this secret stream.

Parameters

clearText - ByteArray!: The message to encrypt.

Return
ByteArray!: The encrypted message.