This is not directly used as password hashing method, and thus isn't callable via the
verify_hash() method. It should be used to create signatures and might be used in other
password hashing methods.
public static hmac ( string $algo, string $data, string $key, boolean $raw_output = false ) : string | ||
$algo | string | Name of selected hashing algorithm (i.e. "md5", "sha256", "haval160,4", etc..) See hash_algos() for a list of supported algorithms. |
$data | string | Message to be hashed. |
$key | string | Shared secret key used for generating the HMAC variant of the message digest. |
$raw_output | boolean | When set to TRUE, outputs raw binary data. FALSE outputs lowercase hexits. |
Résultat | string |