---
schema_version: "1"
id: 3e181c65e4bf8ab7d832bff3d1e23b74d43500ffa244d24f3a3a9f9c54abc361
title: MD5
collection: mulesoft
version: current
locale: en-us
portal_url: https://docs.salesforce.com/mulesoft/current/en-us/dataweave/latest/dw-crypto-functions-md5.md
canonical_url: https://docs.mulesoft.com/dataweave/latest/dw-crypto-functions-md5
source_site: docs.mulesoft.com
content_type: documentation
content_hash: 315417324e7974c65629038e25ee362de0c3c420e03eba000f99bbb1fe4add16
description: MuleSoft Documentation Site
release: "2.13"
latest: true
---
---
product: DataWeave
version: 2.13
is-latest-version: true
---

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