PHPMailer\PHPMailer\SMTP::hmac
Calculate an MD5 HMAC hash.
Works like hash_hmac('md5', $data, $key) in case that function is not available.
Signature
protected function hmac(string
$data,
string
$key )
Parameters
$data
— string- The data to hash
$key
— string- The key to hash with
Returns
- string