|Did you know ...||Search Documentation:|
|HMAC-based key derivation function (HKDF)|
The following predicate implements the Hashed Message Authentication Code (HMAC)-based key derivation function, abbreviated as HKDF. It supports a wide range of applications and requirements by concentrating possibly dispersed entropy of the input keying material and then expanding it to the desired length. The number and lengths of the output keys depend on the specific cryptographic algorithms for which the keys are needed.
Admissible options are:
octet, denoting the representation of Data as in crypto_data_hash/3.
info/1 option can be used to generate multiple keys
from a single master key, using for example values such as
iv, or the name of a file that is to be encrypted.
This predicate requires OpenSSL 1.1.0 or greater.