encryptingSource

abstract fun encryptingSource(plaintext: RawSource): RawSource(source)

Returns a RawSource that encrypts data as it is read from the given plaintext source. The resulting source produces ciphertext on reads.

Use encryptingSink to wrap a sink instead.