# Hash Tool

MD5, SHA-1, SHA-256, or SHA-512 of any text — the checksum anyone can verify.

- Method: `GET`
- Path: `/v1/utility/hash`

**Parameters**

| Name | Type | | Description |
|---|---|---|---|
| `text` | string | required | The text to hash. |
| `algorithm` | string | optional | `md5`, `sha1`, `sha256`, or `sha512`. |

**Example request**

```bash
curl https://api.diraz.ae/v1/utility/hash \
  -H "Authorization: Bearer drz_live_…"
```

**Example response**

```json
{
  "data": {
    "algorithm": "sha256",
    "input_length": 11,
    "hex": "b94d27b9934d3e08a52e52d7da7dabfac484efe37a5380ee9088f7ace2efcde9"
  },
  "meta": {
    "request_id": "req_7Q2fK4mZ"
  }
}
```