> ## 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.

# EncryptOptions

```ts theme={null}
type EncryptOptions: {
  "client": string;
  "entropy": BytesLike;
  "iv": BytesLike;
  "progressCallback": ProgressCallback;
  "salt": BytesLike;
  "scrypt": {
     "N": number;
     "p": number;
     "r": number;
    };
  "uuid": string;
};
```

The parameters to use when encrypting a JSON Keystore Wallet.

## Type declaration

### client?

```ts theme={null}
optional client: string;
```

### entropy?

```ts theme={null}
optional entropy: BytesLike;
```

### iv?

```ts theme={null}
optional iv: BytesLike;
```

### progressCallback?

```ts theme={null}
optional progressCallback: ProgressCallback;
```

### salt?

```ts theme={null}
optional salt: BytesLike;
```

### scrypt?

```ts theme={null}
optional scrypt: {
  "N": number;
  "p": number;
  "r": number;
};
```

### scrypt.N?

```ts theme={null}
optional N: number;
```

### scrypt.p?

```ts theme={null}
optional p: number;
```

### scrypt.r?

```ts theme={null}
optional r: number;
```

### uuid?

```ts theme={null}
optional uuid: string;
```

## Source

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