# Keystore.engine

Creates a Node.js implementation of the [`Keystore`](/api/Keystore) engine slot, without installing it.

Most callers want [`Engine.install`](/node/crypto/Engine/install) instead, which installs every implementation this entrypoint provides. Reach for this to install or hold the `Keystore` slot on its own.

This engine deliberately omits scrypt. OpenSSL rejects Ox's default scrypt parameter shape, so installing it would make valid existing calls fail.

## Imports

:::code-group
```ts [Named]
import { Keystore } from 'ox/node'
```

```ts [Entrypoint]
import * as Keystore from 'ox/node/Keystore'
```
:::

## Examples

```ts twoslash
// @noErrors
import { Engine } from 'ox'
import { Keystore } from 'ox/node'

await Engine.install({ Keystore: Keystore.engine() })

Keystore.pbkdf2({ password: 'testpassword' })
```

## Definition

```ts
function engine(): Promise<engine.ReturnType>
```

**Source:** [src/node/Keystore.ts](https://github.com/wevm/ox/blob/main/src/node/Keystore.ts#L31)

## Return Type

The raw `Keystore` engine slot.

`Promise<engine.ReturnType>`
