# P256.engine

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

Node's other P256 operations do not reproduce Ox's recovered-signature and compressed-shared-point contracts, so they remain on Ox's defaults.

## Imports

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

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

## Examples

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

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

P256.getPublicKey({ privateKey: '0x...' })
```

## Definition

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

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

## Return Type

The raw `P256` engine slot.

`Promise<engine.ReturnType>`
