Skip to main content
ericball's user avatar
ericball's user avatar
ericball's user avatar
ericball
  • Member for 12 years, 3 months
  • Last seen more than 5 years ago
revised
Loading…
revised
Loading…
awarded
Loading…
comment
Why is the salt used only once in PBKDF2, while the password is used often?
Correct. I understand the HMAC construction (which is really more of a workaround to address the length-extension attack weaknesses common to Merkle–Damgård construction hash functions), but the Un = PRF( PW, Un-1 ) construction is specific to PBKDF2. If just happens that if the PRF is an HMAC then the PW (which is typically short & low entropy) is used far more than the salt (which may have much better properties).
awarded
Loading…
1
2