Practical-Cryptography-for-Developers-Book
Practical-Cryptography-for-Developers-Book copied to clipboard
KDF vs. PBKDF
This crucial difference is missing in the text and it treats KDFs as if they were PBKDFs, possibly confusing coders - the target audience.
KDF is a key derivation function in general - for example for deriving round keys - and designed to be fast. PBKDFs are designed to be brute force resilient and therefore to be slow. It's literally stated in /mac-and-key-derivation/hmac-and-key-derivation, that SHA is not a good [PB]KDF, which is true, but it's perfectly correct and used as KDF - like in WhisperMessage (Signal, WhatsApp, ...)