# Password

#### 🔧 Select Algorithm: **PBKDF2**

PBKDF2 (Password-Based Key Derivation Function 2) is a key stretching algorithm that enhances password security through repeated hashing. It is a FIPS-approved method and widely supported.

***

#### 📌 Configuration Parameters

| Parameter         | Options / Range                                                                                                                | Description                                                                                                             |
| ----------------- | ------------------------------------------------------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
| **Hash Function** | `SHA-256` or `SHA-512`                                                                                                         | Selects the underlying HMAC hash function.                                                                              |
| **Key Length**    | <p>Based on hash function:<br>• <code>SHA-256</code> → 32 bytes (256 bits)<br>• <code>SHA-512</code> → 64 bytes (512 bits)</p> | Length of the derived key.                                                                                              |
| **Iterations**    | `300,000` – `600,000`                                                                                                          | Number of hashing rounds to slow down brute-force attacks. Higher values improve security but increase processing time. |

***

#### ✅ Recommendations

* **Preferred Digest**: `SHA-512` for stronger security, with a `key length` of `64 bytes`.
* **Minimum Iterations**: `300,000`\ <br>


---

# 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.simptel.com/human-identity/authentication-service/internal-authenticators/password.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.
