注意: 此页面尚未翻译成中文。以下内容为英文原版。
account encrypted with password.
The options can be used to tune the password-based key derivation function parameters, explicitly set the random
values used. Any provided ProgressCallback is ignored.
Parameters
| Parameter | Type | Description |
|---|---|---|
account | KeystoreAccount | The account to encrypt. |
password | string | Uint8Array | The password to encrypt the JSON data. |
options? | EncryptOptions | The options to use when encrypting the JSON data. |
Returns
string
The encrypted JSON data.
