tuweni / org.apache.tuweni.crypto.sodium / SecretDecryptionStream

SecretDecryptionStream

interface SecretDecryptionStream : Destroyable (source)

Used to decrypt a sequence of messages, or a single message split into arbitrary chunks.

Functions

isComplete

Returns true if the stream is complete

abstract fun isComplete(): Boolean

pull

Pull a message from this secret stream.

open fun pull(cipherText: Bytes!): Bytes!
abstract fun pull(cipherText: ByteArray!): ByteArray!