Key Derivation Function (KDF)
#Cryptography #KDF
A Key Derivation Function (KDF) is a function that takes some source of initial keying material and uses it to derive one or more cryptographically strong keys. This specification uses a KDF with the following API and parameters:
- Extract(salt, ikm): Extract a pseudorandom key of fixed length
Nxbytes from input keying materialikmand an optional byte stringsalt. - Expand(prk, info, L): Expand a pseudorandom key
prkusing the optional stringinfointoLbytes of output keying material. - Nx: The output size of the
Extract()function in bytes.