# 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.
