Function

password_algos

Synopsis

password_algos(): array

Area
Runtime\PS\Crypto\password_algosareas

Description

password_algos returns the algorithm identifiers password_hash() accepts, in php's order: bcrypt, then the two argon2 variants.

Usage

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

See also