# sha1

**Kind:** Function

**Source:** [`src/utils/crypto.ts`](https://github.com/honojs/hono/blob/main/src/utils/crypto.ts#L21)

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
async function sha1(data: Data): Promise<string | null>
```

## Parameters

| Name | Type |
|---|---|
| `data` | `Data` |

**Returns:** `Promise<string | null>`
