Constant tindercrypt::metadata::PBKDF2_DEFAULT_HASH_FN[][src]

pub const PBKDF2_DEFAULT_HASH_FN: HashFunction;
Expand description

The default hash function for the PBKDF2 key derivation algorithm.

We use the SHA-256 hash function since we want to create 256-bit keys, and because it’s generally better if the output of the HMAC function matches the length of the desired key 1.