# Ed25519.engine

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

Node's verifier does not implement Ox's ZIP-215 verification semantics, so this engine deliberately omits `verify`. Public-key conversion and random key generation also remain on Ox's default implementation.

## Imports

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

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

## Examples

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

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

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

## Definition

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

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

## Return Type

The raw `Ed25519` engine slot.

`Promise<engine.ReturnType>`
