-
public final class KryptKt
-
-
Method Summary
Modifier and Type Method Description final static StreamCipherProvidernewCipherProvider(String cipherId)final static StreamCiphernewCipher(String cipherId)final static <ERROR CLASS>with(StreamCipher $self, ByteArray key, Long iv)final static ByteArraytoBinaryKey(String cipherKey)final static StreamCipherOutputStreamencryptBy(OutputStream $self, StreamCipher cipher)final static StreamCipherInputStreamdecryptBy(InputStream $self, Function0<StreamCipher> cipherGetter)-
-
Method Detail
-
newCipherProvider
final static StreamCipherProvider newCipherProvider(String cipherId)
-
newCipher
final static StreamCipher newCipher(String cipherId)
-
with
final static <ERROR CLASS> with(StreamCipher $self, ByteArray key, Long iv)
-
toBinaryKey
final static ByteArray toBinaryKey(String cipherKey)
-
encryptBy
final static StreamCipherOutputStream encryptBy(OutputStream $self, StreamCipher cipher)
-
decryptBy
final static StreamCipherInputStream decryptBy(InputStream $self, Function0<StreamCipher> cipherGetter)
-
-
-
-