toggle menu
okio
3.10.0-SNAPSHOT
jvm
switch theme
search in API
okio
/
okio
/
cipherSink
cipher
Sink
jvm
fun
Sink
.
cipherSink
(
cipher
:
Cipher
)
:
CipherSink
Returns a sink that uses
cipher
to encrypt or decrypt
this
.
Throws
Illegal
Argument
Exception
if
cipher
isn't a block cipher.