> ## Documentation Index
> Fetch the complete documentation index at: https://docs.qu.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# decryptKeystoreJsonSync

> **참고**: 이 페이지는 아직 한국어로 번역되지 않았습니다. 아래는 영어 원문입니다.

```ts theme={null}
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**](/ko/sdk/content/functions/decryptKeystoreJson) instead, which allows a
[\*\*ProgressCallback](/ko/sdk/content/type-aliases/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

| Parameter   | Type                     | Description                            |
| :---------- | :----------------------- | :------------------------------------- |
| `json`      | `string`                 | The JSON data to decrypt.              |
| `_password` | `string` \| `Uint8Array` | The password to decrypt the JSON data. |

## Returns

[`KeystoreAccount`](/ko/sdk/content/type-aliases/KeystoreAccount)

The decrypted account.

## Source

[wallet/json-keystore.ts:225](https://github.com/dominant-strategies/quais.js/blob/c1c12d43f9d34c6baad2b0542bd6d0acd6fefcbf/src/wallet/json-keystore.ts#L225)
