okio
/
okio
/
cipherSink
jvm
cipher
Sink
fun
Sink
.
cipherSink
(cipher:
Cipher
):
CipherSink
Content copied to clipboard
Returns a sink that uses
cipher
to encrypt or decrypt
this
.
Throws
kotlin.IllegalArgumentException
if
cipher
isn't a block cipher.