We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6facf43 commit d760cdaCopy full SHA for d760cda
lib/src/main/java/nl/nl2312/okio/cipher/CipherSource.kt
@@ -5,11 +5,13 @@ import okio.ForwardingSource
5
import okio.Source
6
import javax.crypto.Cipher
7
8
+
9
/**
10
* Accepts an encrypted [Source] and deciphers it on the fly.
11
*
12
* <p>Chunked and partial reading is supported. However, the deciphered output text is not complete until the [Source]
- * is drained. Do not attempt to (re-)use the supplied [cipher] until the full source stream is completed.
13
+ * is drained. It is an error to attempt to (re-)use the supplied [cipher] during or after the streaming, without
14
+ * explicitly calling its [Cipher.init] again.
15
*/
16
class CipherSource(
17
source: Source,
0 commit comments