A “Key Derivation Function” (KDF) derives one or more secret keys from a secret value such as a master key or other known information such as a password using a pseudo-random function.

learn more… | top users | synonyms

6
votes
1answer
262 views

Security of KDF1 and KDF2 (hash based KDF's)

It's still common to come across implementations of KDF1 and KDF2. Basically these are KDF's that simply derive multiple keys from the key seed and a counter: $K_i = KDF(K_{master}, i) = H(K_{master} ...
0
votes
1answer
153 views

Encryption and HMAC key derivation

I'm deriving keys from a user-supplied passphrase for symmetric encryption using AES-256 in CBC mode with a HMAC for authenticity/integrity. My key derivation function currently looks like this: ...