참고: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.
function decryptKeystoreJsonSync(json, _password): KeystoreAccount
Returns the account details for the JSON Keystore Wallet json using password. It is preferred to use the async version instead, which allows a **ProgressCallback to keep the user informed as to the decryption status. This method will block the event loop (freezing all UI) until decryption is complete, which can take quite some time, depending on the wallet paramters and platform.

Parameters

ParameterTypeDescription
jsonstringThe JSON data to decrypt.
_passwordstring | Uint8ArrayThe password to decrypt the JSON data.

Returns

KeystoreAccount The decrypted account.

Source

wallet/json-keystore.ts:225