# MD2

## Description

This operation allows you to hash data using the **MD2 (Message Digest 2)** algorithm. MD2 is a cryptographic hash function primarily intended for use in systems based on 8-bit computers. It produces a 128-bit hash value (16 bytes), typically represented as a 32-character hexadecimal string.

***

## Data types

These are the input/output expected data types for this operation:

### Input data

![](https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FZmr35bwgundYfOW63E3q%2Fimage.png?alt=media\&token=2ba8baff-b40b-4dd4-ae2c-2a2ad5696788) - Data you want to hash.

### Output data <a href="#output-data" id="output-data"></a>

![](https://965373739-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FkxZeV4nlXcIAjMGZxzLI%2Fuploads%2FRDngsaxu99O216cFqn81%2Fimage.png?alt=media\&token=53e171be-7591-4c56-acdb-4e8e8646241d) - MD2 hash values.

***

## Example

Suppose you want to **hash** your input strings using the **MD2** algorithm:

1. In your Pipeline, open the required [Action](https://onum.gitbook.io/onum-docs/the-workspace/pipelines/actions) configuration and select the input **Field**.
2. In the **Operation** field, choose **MD2**.
3. Give your **Output field** a name and click **Save**. The strings in your input field will be hashed using the MD2 algorithm.

For example, the following string:

```csv
Hello World!
```

will be hashed as:

```json
315f7c67223f01fb7cab4b95100e872e
```

{% hint style="info" %}
You can try out operations with specific values using the **Input** field above the operation. You can enter the value in the example above and check the result in the **Output** field.
{% endhint %}
