---
schema_version: "1"
id: c45fc3323e707a93dcb3b180917362eb3fcafcd1940fd054e3e07563a7e119d1
title: MD5
collection: mulesoft
version: current
locale: ja-jp
portal_url: https://docs.salesforce.com/mulesoft/current/ja-jp/dataweave/2.4/dw-crypto-functions-md5.md
canonical_url: https://docs.mulesoft.com/jp/dataweave/2.4/dw-crypto-functions-md5
source_site: docs.mulesoft.com
content_type: documentation
content_hash: edb390402e7f079a40915a641acb1107093e6a265e911817e4fd98590b551173
description: MuleSoft Documentation Site
release: "2.4"
latest: false
---
# MD5

## [](#md51)MD5(content: Binary): String

MD5 ハッシュを計算し、そのバイナリ結果を小文字の 16 進文字列に変換します。

### [](#パラメーター)パラメーター

<table class="tableblock frame-all grid-all stretch">
<colgroup>
<col style="width: 25%;">
<col style="width: 75%;">
</colgroup>
<thead>
<tr>
<th class="tableblock halign-left valign-top">名前</th>
<th class="tableblock halign-left valign-top">説明</th>
</tr>
</thead>
<tbody>
<tr>
<td class="tableblock halign-left valign-top"><p class="tableblock">​<code>content</code></p></td>
<td class="tableblock halign-left valign-top"><p class="tableblock">暗号化するバイナリ入力値。</p></td>
</tr>
</tbody>
</table>

### [](#例)例

次の例では、MD5 アルゴリズムを使用してバイナリ値を暗号化します。

#### [](#ソース)ソース

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

#### [](#出力)出力

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