Preparing search index...
The search index is not available
snort.social
snort.social
@snort/system
XChaCha20Encryptor
Class XChaCha20Encryptor
Implements
MessageEncryptor
Index
Constructors
constructor
Methods
decrypt
Data
encrypt
Data
get
Shared
Secret
Constructors
constructor
new XCha
Cha20
Encryptor
(
)
:
XChaCha20Encryptor
Returns
XChaCha20Encryptor
Methods
decrypt
Data
decrypt
Data
(
payload
,
sharedSecret
)
:
string
Parameters
payload
:
MessageEncryptorPayload
sharedSecret
:
Uint8Array
Returns
string
encrypt
Data
encrypt
Data
(
content
,
sharedSecret
)
:
MessageEncryptorPayload
Parameters
content
:
string
sharedSecret
:
Uint8Array
Returns
MessageEncryptorPayload
get
Shared
Secret
get
Shared
Secret
(
privateKey
,
publicKey
)
:
Uint8Array
Parameters
privateKey
:
string
publicKey
:
string
Returns
Uint8Array
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
On This Page
constructor
decrypt
Data
encrypt
Data
get
Shared
Secret
snort.social
@snort
shared
system
system-react
system-svelte
system-wasm
system-web
Generated using
TypeDoc