참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
json
using the password
.
If provided, progress
will be called periodically during the decrpytion to provide feedback, and if the function
returns false
will halt decryption.
The progressCallback
will always receive 0
before decryption begins and 1
when complete.
Parameter | Type | Description |
---|---|---|
json | string | The JSON data to decrypt. |
_password | string | Uint8Array | The password to decrypt the JSON data. |
progress ? | ProgressCallback | The callback to receive progress updates. |
Promise
<KeystoreAccount
>
The decrypted account.