PlasmoVoice
jvm
PlasmoVoice
/
su.plo.voice.api.encryption
/
Encryption
Encryption
interface
Encryption
Represents and encryption for encrypting and decrypting data using encryption algorithms.
Members
Functions
decrypt
Link copied to clipboard
abstract
fun
decrypt
(
data
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Decrypts the provided data using the corresponding decryption algorithm.
encrypt
Link copied to clipboard
abstract
fun
encrypt
(
data
:
Array
<
Byte
>
)
:
Array
<
Byte
>
Encrypts the provided data using an encryption algorithm.
get
Name
Link copied to clipboard
@
NotNull
abstract
fun
getName
(
)
:
@
NotNull
String
Retrieves the name of the encryption algorithm.
update
Key
Data
Link copied to clipboard
abstract
fun
updateKeyData
(
keyData
:
Array
<
Byte
>
)
Updates the encryption key data.