Password

This document describes the configuration options available for enabling password-based user authentication.

πŸ”§ 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

Based on hash function: β€’ SHA-256 β†’ 32 bytes (256 bits) β€’ SHA-512 β†’ 64 bytes (512 bits)

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

Last updated