encryptingSinkWithIv
Returns a RawSink that encrypts data as it is written, sending the resulting ciphertext to ciphertext, using the specified iv without associated data.
Use encryptingSourceWithIv to wrap a source instead.
abstract fun encryptingSinkWithIv(iv: ByteArray, ciphertext: RawSink, associatedData: ByteArray?): RawSink(source)
open fun encryptingSinkWithIv(iv: ByteString, ciphertext: RawSink, associatedData: ByteString?): RawSink(source)
Returns a RawSink that encrypts data as it is written, sending the resulting ciphertext to ciphertext, using the specified iv with optional associatedData.
Use encryptingSourceWithIv to wrap a source instead.