# Hash

WASM implementations of Ox's supported hash primitives.

## Examples

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

Engine.set(await WasmHash.create())

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

## Functions

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`Hash.create`](/wasm/crypto/Hash/create) | Compiles the WASM implementation of the [`Hash`](/api/Hash) primitives, without installing it. |

## Errors

| Name                | Description                         |
| ------------------- | ----------------------------------- |
| [`Hash.MemoryError`](/wasm/crypto/Hash/errors#hashmemoryerror) | Thrown when a WASM module cannot grow its memory to the required size. |
