PHP Manual
Function Reference
Cryptography Extensions
Hash
Mcrypt
Mhash
OpenSSL
Password Hashing
Rnp
Sodium
OpenSSLAsymmetricKey
Introduction
Cryptography Extensions
PHP Manual
Password Hashing
Table of Contents
Introduction
Installing/Configuring
Requirements
Installation
Predefined Constants
Password Hashing Functions
password_algos
— Get available password hashing algorithm IDs
password_get_info
— Returns information about the given hash
password_hash
— Creates a password hash
password_needs_rehash
— Checks if the given hash matches the given options
password_verify
— Verifies that a password matches a hash