Function

hash_algos

Synopsis

hash_algos(): array

Area
Runtime\PS\Crypto\Hash\hash_algosareas

Description

hash_algos returns the algorithm names hash() and hash_hmac() accept here, sorted. The list is a seventh of PHP's, and a script that lets a user pick an algorithm reads the list.

Usage

$value = hash_algos($arguments);
$fn = hash_algos(...);

See also