Password Hashing
PHP Manual

预定义常量

下列常量作为 PHP 核心的一部分总是可用的。

PASSWORD_BCRYPT (integer)
PASSWORD_BCRYPT is used to create new password hashes using the CRYPT_BLOWFISH algorithm.
PASSWORD_DEFAULT (integer)
The default algorithm to use for hashing if no algorithm is provided. This may change in newer PHP releases when newer, stronger hashing algorithms are supported.


Password Hashing
PHP Manual