# Hash.create

Compiles the WASM implementation of the [`Hash`](/api/Hash) primitives, without installing it.

Most callers want [`Engine.load`](/wasm/crypto/Engine/load) instead, which compiles every implementation this entrypoint provides and installs them in one call. Reach for this to take the `Hash` slot on its own, or to hold the implementation without touching the installed engine.

\:::note Performance varies by primitive, input size, runtime, and processor. Run `pnpm bench:engines` to compare Ox's default, Node, WASM, and Alloy implementations on your target machine. :::

## Imports

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

```ts [Entrypoint]
import * as Hash from 'ox/wasm/Hash'
```
:::

## Examples

```ts twoslash
// @noErrors
import { Engine, Hash } from 'ox'
import * as WasmHash from 'ox/wasm/Hash'

Engine.set(await WasmHash.create())

Hash.keccak256('0xdeadbeef')
```

## Definition

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

**Source:** [src/wasm/Hash.ts](https://github.com/wevm/ox/blob/main/src/wasm/Hash.ts#L59)

## Return Type

An engine supplying the `Hash` slot.

`Promise<create.ReturnType>`
