---
schema_version: "1"
id: fb36f80f516e1cd252a08fa9cf88423cd46f50d675362265ce21c73867fef4b1
title: MD5
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/2.9/dw-crypto-functions-md5.md
canonical_url: https://docs.mulesoft.com/dataweave/2.9/dw-crypto-functions-md5
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 07d187c6db19cf44bab30f928286c1e16babaffe6cc2c308f5146784488f7c6c
description: MuleSoft Documentation Site
release: "2.9"
latest: false
---
---
product: DataWeave
version: 2.9
---

# MD5

> For the full documentation index, see: https://docs.mulesoft.com/llms.txt

## MD5(content: Binary): String

Computes the MD5 hash and transforms the binary result into a hexadecimal lower case string.

### Parameters

<table><colgroup><col> <col></colgroup><thead><tr><th>Name</th><th>Description</th></tr></thead><tbody><tr><td><p><code>content</code></p></td><td><p>A binary input value to encrypt.</p></td></tr></tbody></table>

### Example

This example uses the MD5 algorithm to encrypt a binary value.

#### Source

```DataWeave
%dw 2.0
import dw::Crypto
output application/json
---
{ "md5" : Crypto::MD5("asd" as Binary) }
```

#### Output

```JSON
{ "md5": "7815696ecbf1c96e6894b779456d330e" }
```
