hash_pbkdf2Generate a PBKDF2 key derivation of a supplied password Beschreibung
string hash_pbkdf2
( string
$algo
, string $password
, string $salt
, int $iterations
[, int $length = 0
[, bool $raw_output = false
]] )Parameter-Liste
Rückgabewerte
Returns a string containing the derived key as lowercase hexits unless
Fehler/Exceptions
An Changelog
Beispiele
Beispiel #1 hash_pbkdf2 example, basic usage
<?phpDas oben gezeigte Beispiel erzeugt eine ähnliche Ausgabe wie: 120fb6cffcf8b32c43e7 AnmerkungenAchtung
The PBKDF2 method can be used for hashing passwords for storage. However, it
should be noted that password_hash or
crypt with Siehe auch
|