Password Hashing Funzioni
PHP Manual

password_get_info

(PHP 5 >= 5.5.0)

password_get_infoReturns information about the given hash

Descrizione

array password_get_info ( string $hash )

When passed in a valid hash created by an algorithm supported by password_hash(), this function will return an array of information about that hash.

Elenco dei parametri

hash

A hash created by password_hash().

Valori restituiti

Returns an associative array with three elements: algo, which will match a password algorithm constant; algoName, which has the human readable name of the algorithm; and options, which includes the options provided when calling password_hash().


Password Hashing Funzioni
PHP Manual