SMTP::hmac

Advertisement

Summery Summery

Calculate an MD5 HMAC hash.

Syntax Syntax

SMTP::hmac( string $data, string $key )

Description Description

Works like hash_hmac(‘md5’, $data, $key) in case that function is not available

Parameters Parameters

$data

(Required) The data to hash

$key

(Required) The key to hash with

Return Return

(string)

Source Source

File: wp-includes/class-smtp.php


			

Advertisement

Advertisement

Leave a Reply