# MD5 Hash

> Generate an MD5 hash of a string.

- ID: `md5_hash`
- Type: Block
- Category: [Strings](https://inventor.bot/docs/reference/blocks/strings.md)

- Value block: it can be used directly inside expressions, e.g. `"Result: " + md5_hash(Args{...})`.

**Inputs**

| Name | Required | Description | Value |
| --- | --- | --- | --- |
| `text` | yes | String to hash. | e.g. `"hello"` |

**Outputs**

| Name | Description | Value |
| --- | --- | --- |
| `hash` | MD5 hash of the string. | e.g. `"5d41402abc4b2a76b9719d911017c592"` |

**Example**

```go
md5Hash := md5_hash(Args{text: "hello"})
send_text_message(Args{channel_id: trigger.channel_id, message_content: "Hash: " + md5Hash})
```