toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-core
/
dev.whyoleg.cryptography.operations
/
AuthenticatedEncryptor
Authenticated
Encryptor
interface
AuthenticatedEncryptor
:
Encryptor
(
source
)
Inheritors
IvAuthenticatedEncryptor
AuthenticatedCipher
Members
Functions
encrypt
Link copied to clipboard
open
suspend override
fun
encrypt
(
plaintext
:
ByteArray
)
:
ByteArray
open
suspend override
fun
encrypt
(
plaintext
:
ByteString
)
:
ByteString
open
suspend
fun
encrypt
(
plaintext
:
ByteArray
,
associatedData
:
ByteArray
?
)
:
ByteArray
open
suspend
fun
encrypt
(
plaintext
:
ByteString
,
associatedData
:
ByteString
?
)
:
ByteString
encrypt
Blocking
Link copied to clipboard
open
override
fun
encryptBlocking
(
plaintext
:
ByteArray
)
:
ByteArray
open
override
fun
encryptBlocking
(
plaintext
:
ByteString
)
:
ByteString
abstract
fun
encryptBlocking
(
plaintext
:
ByteArray
,
associatedData
:
ByteArray
?
)
:
ByteArray
open
fun
encryptBlocking
(
plaintext
:
ByteString
,
associatedData
:
ByteString
?
)
:
ByteString
encrypting
Sink
Link copied to clipboard
open
override
fun
encryptingSink
(
ciphertext
:
RawSink
)
:
RawSink
abstract
fun
encryptingSink
(
ciphertext
:
RawSink
,
associatedData
:
ByteArray
?
)
:
RawSink
open
fun
encryptingSink
(
ciphertext
:
RawSink
,
associatedData
:
ByteString
?
)
:
RawSink
encrypting
Source
Link copied to clipboard
open
override
fun
encryptingSource
(
plaintext
:
RawSource
)
:
RawSource
abstract
fun
encryptingSource
(
plaintext
:
RawSource
,
associatedData
:
ByteArray
?
)
:
RawSource
open
fun
encryptingSource
(
plaintext
:
RawSource
,
associatedData
:
ByteString
?
)
:
RawSource