hash_hmac_algos
PHP 7 >= 7.2.0, PHP 8
hash_hmac_algos - Return a list of registered hashing algorithms suitable for hash_hmac
hash_hmac_algos(
): array
Parameters
This function has no parameters.
Return Values
Returns a numerically indexed array containing the list of supported hashing algorithms suitable for hash_hmac.
Notes
Note:
Before PHP 7.2.0 the only means to get a list of supported hash algorithms has been to call hash_algos which also returns hash algorithms that are not suitable for hash_hmac.