toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-core
/
dev.whyoleg.cryptography.algorithms
/
AES
/
IvEncryptor
Iv
Encryptor
interface
IvEncryptor
:
Encryptor
(
source
)
Inheritors
IvCipher
IvAuthenticatedEncryptor
Members
Functions
encrypt
Link copied to clipboard
open
suspend
fun
encrypt
(
plaintext
:
ByteArray
)
:
ByteArray
open
suspend
fun
encrypt
(
plaintext
:
ByteString
)
:
ByteString
encrypt
Blocking
Link copied to clipboard
abstract
fun
encryptBlocking
(
plaintext
:
ByteArray
)
:
ByteArray
open
fun
encryptBlocking
(
plaintext
:
ByteString
)
:
ByteString
encrypting
Sink
Link copied to clipboard
abstract
fun
encryptingSink
(
ciphertext
:
RawSink
)
:
RawSink
encrypting
Sink
With
Iv
Link copied to clipboard
abstract
fun
encryptingSinkWithIv
(
iv
:
ByteArray
,
ciphertext
:
RawSink
)
:
RawSink
open
fun
encryptingSinkWithIv
(
iv
:
ByteString
,
ciphertext
:
RawSink
)
:
RawSink
encrypting
Source
Link copied to clipboard
abstract
fun
encryptingSource
(
plaintext
:
RawSource
)
:
RawSource
encrypting
Source
With
Iv
Link copied to clipboard
abstract
fun
encryptingSourceWithIv
(
iv
:
ByteArray
,
plaintext
:
RawSource
)
:
RawSource
open
fun
encryptingSourceWithIv
(
iv
:
ByteString
,
plaintext
:
RawSource
)
:
RawSource
encrypt
With
Iv
Link copied to clipboard
open
suspend
fun
encryptWithIv
(
iv
:
ByteArray
,
plaintext
:
ByteArray
)
:
ByteArray
open
suspend
fun
encryptWithIv
(
iv
:
ByteString
,
plaintext
:
ByteString
)
:
ByteString
encrypt
With
Iv
Blocking
Link copied to clipboard
abstract
fun
encryptWithIvBlocking
(
iv
:
ByteArray
,
plaintext
:
ByteArray
)
:
ByteArray
open
fun
encryptWithIvBlocking
(
iv
:
ByteString
,
plaintext
:
ByteString
)
:
ByteString