Hash Algorithms
In the Volume Creation Wizard and in the password change dialog window, you can select a hash algorithm when using PBKDF2-HMAC as the key derivation function. In the Keyfile Generator dialog window, the selected hash algorithm is used by the VeraCrypt Random Number Generator as its pool mixing function. When Argon2id is selected as the key derivation function, no separate hash algorithm selection is available for header key derivation because Argon2id uses its own internal BLAKE2b-512 hash function.
For PBKDF2-HMAC, the user-selected hash algorithm is used by the VeraCrypt Random Number Generator as a pseudorandom "mixing" function, and by the header key derivation function (HMAC based on a hash function, as specified in PKCS #5 v2.0) as a pseudorandom function. When creating a new volume, the Random Number Generator generates the master key, secondary key (XTS mode), and salt. For more
information, please see the section
Random Number Generator and section
Header Key Derivation, Salt, and Iteration Count.
VeraCrypt currently supports the following hash algorithms for PBKDF2-HMAC:
VeraCrypt also associates the following hash with Argon2id:
-
BLAKE2b-512 (associated with Argon2id; not selectable for PBKDF2-HMAC)
Next Section >>