# contentHash

contentHash in @provenanceauth/rails/deals, Rails. Sha256 (hex) of delivered bytes or text.

## Signature

```ts
contentHash(content: string | Uint8Array): Promise<string>
```

## Parameters

- `content` (string | Uint8Array)

## Returns

`Promise<string>`

Runs locally, with no request to the API.
