encryptingSourceWithIv
Returns a RawSource that encrypts data as it is read from the given plaintext source using the specified iv without associated data.
Use encryptingSinkWithIv to wrap a sink instead.
abstract fun encryptingSourceWithIv(iv: ByteArray, plaintext: RawSource, associatedData: ByteArray?): RawSource(source)
open fun encryptingSourceWithIv(iv: ByteString, plaintext: RawSource, associatedData: ByteString?): RawSource(source)
Returns a RawSource that encrypts data as it is read from the given plaintext source using the specified iv with optional associatedData.
Use encryptingSinkWithIv to wrap a sink instead.