toggle menu
cryptography-kotlin
0.4.0
common
switch theme
search in API
cryptography-core
/
dev.whyoleg.cryptography.operations
/
AuthenticatedEncryptor
/
encrypt
encrypt
open
suspend override
fun
encrypt
(
plaintext
:
ByteArray
)
:
ByteArray
(
source
)
open
suspend override
fun
encrypt
(
plaintext
:
ByteString
)
:
ByteString
(
source
)
open
suspend
fun
encrypt
(
plaintext
:
ByteArray
,
associatedData
:
ByteArray
?
)
:
ByteArray
(
source
)
open
suspend
fun
encrypt
(
plaintext
:
ByteString
,
associatedData
:
ByteString
?
)
:
ByteString
(
source
)