Documentation
Preparing search index...
@mysten/enoki
Encryption
Interface Encryption
A general interface for specifying how data should be encrypted and decrypted.
interface
Encryption
{
decrypt
(
password
:
string
,
data
:
string
)
:
Promise
<
string
>
;
encrypt
(
password
:
string
,
data
:
string
)
:
Promise
<
string
>
;
}
Index
Methods
decrypt
encrypt
Methods
decrypt
decrypt
(
password
:
string
,
data
:
string
)
:
Promise
<
string
>
Parameters
password
:
string
data
:
string
Returns
Promise
<
string
>
encrypt
encrypt
(
password
:
string
,
data
:
string
)
:
Promise
<
string
>
Parameters
password
:
string
data
:
string
Returns
Promise
<
string
>
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
decrypt
encrypt
Documentation
Loading...
A general interface for specifying how data should be encrypted and decrypted.