crypto / 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

abstract fun isComplete(): Boolean

pull

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

Pull a message from this secret stream.