decryptingSinkWithIv

Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, using the specified iv without associated data.

Use decryptingSourceWithIv to wrap a source instead.


abstract fun decryptingSinkWithIv(iv: ByteArray, plaintext: RawSink, associatedData: ByteArray?): RawSink(source)

Returns a RawSink that decrypts data as it is written, sending the resulting plaintext to plaintext, using the specified iv with optional associatedData.

Use decryptingSourceWithIv to wrap a source instead.