# CryptoHash

## Overview

![The CryptoHash Node.](/files/aAEFTNMePjdYCl76iyB3)

The **CryptoHash** **Node** takes a **String** and encrypts it as a *hash* using an algorithm chosen by the user.

[**Scope**](/incari-studio/2023.1/toolbox/overview.md#scopes): **Project**, **Scene**, **Function**, **Prefab**.

## Attributes

![The CryptoHash Node Attributes.](/files/42ySnjowuyWumnaocflV)

| Attribute   | Type          | Description                                                                                                                                            |
| ----------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| `String`    | **String**    | The **String** that will be encrypted, if none is given in the **Input Socket**.                                                                       |
| `Algorithm` | **Drop-down** | The algorithm that will be used for the encryption, if none is given in the **Input Socket**. The available options are `MD5`, `SHA-1`, and `SHA-256`. |

## Inputs

| Input             | Type       | Description                                                                                                                  |
| ----------------- | ---------- | ---------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Input* (►) | **Pulse**  | A standard **Input Pulse**, to trigger the execution of the **Node**.                                                        |
| `String`          | **String** | The **String** that will be encrypted.                                                                                       |
| `Algorithm`       | **String** | The algorithm that will be used for the encryption. It should be one of the available options: `MD5`, `SHA-1`, or `SHA-256`. |

## Outputs

| Output             | Type       | Description                                                                                                                            |
| ------------------ | ---------- | -------------------------------------------------------------------------------------------------------------------------------------- |
| *Pulse Output* (►) | **Pulse**  | A standard **Output Pulse**, to move onto the next **Node** along the **Logic Branch**, once this **Node** has finished its execution. |
| `Hash`             | **String** | The *hash value* corresponding to the **String** given as input.                                                                       |

## External Links

* [*Cryptographic hash function*](https://en.wikipedia.org/wiki/Cryptographic_hash_function) on Wikipedia.
* [*MD5*](https://en.wikipedia.org/wiki/MD5) on Wikipedia.
* [*SHA-1*](https://en.wikipedia.org/wiki/SHA-1) on Wikipedia.
* [*SHA-2*](https://en.wikipedia.org/wiki/SHA-2) on Wikipedia.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.incari.com/incari-studio/2023.1/toolbox/string/create-hash.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
