Search
Preparing search index...
The search index is not available
@iov/multichain Documentation
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
Xchacha20poly1305Ietf
Class Xchacha20poly1305Ietf
Hierarchy
Xchacha20poly1305Ietf
Index
Methods
decrypt
encrypt
Methods
Static
decrypt
decrypt
(
ciphertext
:
Xchacha20poly1305IetfCiphertext
, key
:
Xchacha20poly1305IetfKey
, nonce
:
Xchacha20poly1305IetfNonce
)
:
Promise
<
Xchacha20poly1305IetfMessage
>
Parameters
ciphertext:
Xchacha20poly1305IetfCiphertext
key:
Xchacha20poly1305IetfKey
nonce:
Xchacha20poly1305IetfNonce
Returns
Promise
<
Xchacha20poly1305IetfMessage
>
Static
encrypt
encrypt
(
message
:
Xchacha20poly1305IetfMessage
, key
:
Xchacha20poly1305IetfKey
, nonce
:
Xchacha20poly1305IetfNonce
)
:
Promise
<
Xchacha20poly1305IetfCiphertext
>
Parameters
message:
Xchacha20poly1305IetfMessage
key:
Xchacha20poly1305IetfKey
nonce:
Xchacha20poly1305IetfNonce
Returns
Promise
<
Xchacha20poly1305IetfCiphertext
>
Globals
Xchacha20poly1305
Ietf
decrypt
encrypt
Generated using
TypeDoc