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
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-512for stronger security, with akey lengthof64 bytes.Minimum Iterations:
300,000
Last updated