toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-provider-base
/
dev.whyoleg.cryptography.providers.base.algorithms
/
BaseAesIvEncryptor
Base
Aes
Iv
Encryptor
interface
BaseAesIvEncryptor
:
AES.IvEncryptor
,
BaseEncryptor
(
source
)
Inheritors
BaseAesIvCipher
Members
Functions
create
Encrypt
Function
Link copied to clipboard
abstract
fun
createEncryptFunction
(
)
:
CipherFunction
create
Encrypt
Function
With
Iv
Link copied to clipboard
abstract
fun
createEncryptFunctionWithIv
(
iv
:
ByteArray
)
:
CipherFunction
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
open
fun
encryptingSinkWithIv
(
iv
:
ByteString
,
ciphertext
:
RawSink
)
:
RawSink
open
override
fun
encryptingSinkWithIv
(
iv
:
ByteArray
,
ciphertext
:
RawSink
)
:
RawSink
encrypting
Source
Link copied to clipboard
abstract
fun
encryptingSource
(
plaintext
:
RawSource
)
:
RawSource
encrypting
Source
With
Iv
Link copied to clipboard
open
fun
encryptingSourceWithIv
(
iv
:
ByteString
,
plaintext
:
RawSource
)
:
RawSource
open
override
fun
encryptingSourceWithIv
(
iv
:
ByteArray
,
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
open
fun
encryptWithIvBlocking
(
iv
:
ByteString
,
plaintext
:
ByteString
)
:
ByteString
open
override
fun
encryptWithIvBlocking
(
iv
:
ByteArray
,
plaintext
:
ByteArray
)
:
ByteArray