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

# MD5

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

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