# Function: sha256()

```ts
function sha256(data): Promise<Uint8Array<ArrayBufferLike>>;
```

Defined in: [packages/core/src/utils/hash.ts:10](https://github.com/leifriksheim/minca/blob/main/core/src/utils/hash.ts#L10)

Computes the SHA-256 hash of the given data.

## Parameters

| Parameter | Type |
| ------ | ------ |
| `data` | `Uint8Array` |

## Returns

`Promise`\<`Uint8Array`\<`ArrayBufferLike`\>\>
