hkdf() public method
Derives a key from the given input key using the standard HKDF algorithm. Implements HKDF specified in RFC 5869. Recommend use one of the SHA-2 hash algorithms: sha224, sha256, sha384 or sha512.
public string hkdf ( $algo, $inputKey, $salt = null, $info = null, $length = 0 )$algo string
A hash algorithm supported by hash_hmac(), e.g. 'SHA-256' $inputKey string
The source key $salt string
The random salt $info string
Optional info to bind the derived key materia