# PBKDF2 Hmac Hash

**PBKDF2 Hmac Hash** (Password-Based Key Derivation Function 2 using HMAC) is used to either securely hash a password or derive cryptographic keys from passwords

This might be useful if you want to store some passwords in the database for authentication purpose or generate a unique cryptographic key which can be used to encrypt and decrypt the data.

### Properties Panel

<table data-header-hidden><thead><tr><th></th><th width="286"></th><th></th><th></th></tr></thead><tbody><tr><td><strong>Field</strong></td><td><strong>Description</strong></td><td><strong>Required</strong></td><td><strong>Default</strong></td></tr><tr><td>Node name</td><td><a href="https://docs.cosmocloud.io/concepts-and-in-depth/flow-builder/node-name">Node Name</a></td><td>true</td><td>-</td></tr><tr><td>Hash Algorithm</td><td>Select any of the hash algorithm given: <code>sha256</code>, <code>sha1</code>, <code>sha224</code>, <code>sha512</code>, <code>md5</code></td><td>true</td><td>-</td></tr><tr><td>Hash Password</td><td>Password that needs to be hashed or generate a key that for encryption</td><td>true</td><td>-</td></tr><tr><td>Hash Salt</td><td>The salt value to use for the encryption</td><td>true</td><td>-</td></tr><tr><td>Hash Iterations</td><td>The number of iterations for the key derivation function</td><td>false</td><td>0</td></tr><tr><td>Hash DKLen</td><td>The desired length of the derived key</td><td>false</td><td>0</td></tr></tbody></table>

### Returns

`result` - The hexadecimal value of the key derived. You can access this using Magical Autocomplete (e.g. `$.<node_name>.result`) in any node below this node.


---

# 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.cosmocloud.io/flow-builder/node-types/crypto-nodes/pbkdf2-hmac-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.
