> For the complete documentation index, see [llms.txt](https://documentation.astera.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://documentation.astera.com/functions/encoding/computemd5.md).

# ComputeMD5

| **Name**    | ***ComputeMD5***                                                                                          |
| ----------- | --------------------------------------------------------------------------------------------------------- |
| Syntax      | ComputeMD5 (String str)                                                                                   |
| Purpose     | To compute the MD5 hash of a text value.                                                                  |
| Description | Returns MD5 hash (Message Digest Algorithm 5 – 128-bit (16-byte) hexadecimal value), of the input string. |
| Return Type | String                                                                                                    |
| Parameter   | str \[System.String] – The raw string to HASH                                                             |

![](/files/EvF4mkCEclacpDUF21YE)

**Example**

In this example, we are passing the required parameters to the function transformation object using a *Variables* object.

Where,

*str =* Hello World!

![](/files/ELyDsdyRuoMQMIp0ScKL)

Right-click on the function transformation object and select *Preview Output.* You can see that Astera has returned the MD5 hashed value, a 128-bit (16-byte) hexadecimal number, typically represented as a 32-character string of the specified string.

![](/files/SoIcCBDNsOfmtW1CMzT2)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.astera.com/functions/encoding/computemd5.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
