hkdf($key[, $digest = 'sha512'[, $salt = NULL[, $length = NULL[, $info = '']]]])
Parameters:
$key (string) – Input key material
$digest (string) – A SHA-2 family digest algorithm
$salt (string) – Optional salt
$length (int) – Optional output length
$info (string) – Optional context/application-specific info Returns:
A pseudo-random key or FALSE on failure Return type:
string
Derives a key from another, presumably weaker key.
This method is used internally to derive an encryption