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

# 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" }
```
