24#define PHP_PASSWORD_DEFAULT PHP_PASSWORD_BCRYPT
25#define PHP_PASSWORD_BCRYPT_COST 12
34#define PHP_PASSWORD_ARGON2_MEMORY_COST (64 << 10)
35#define PHP_PASSWORD_ARGON2_TIME_COST 4
36#define PHP_PASSWORD_ARGON2_THREADS 1
hash(string $algo, string $data, bool $binary=false, array $options=[])
const php_password_algo php_password_algo_bcrypt
#define PHP_MSHUTDOWN_FUNCTION
#define PHP_MINIT_FUNCTION
PHP_JSON_API size_t int options
PHPAPI void php_password_algo_unregister(const char *)
PHPAPI const php_password_algo * php_password_algo_find(const zend_string *)
struct _php_password_algo php_password_algo
PHPAPI const php_password_algo * php_password_algo_identify_ex(const zend_string *, const php_password_algo *)
PHPAPI int php_password_algo_register(const char *, const php_password_algo *)
PHPAPI zend_string * php_password_algo_extract_ident(const zend_string *)
PHPAPI const php_password_algo * php_password_algo_default(void)
bool(* valid)(const zend_string *hash)
int(* get_info)(zval *return_value, const zend_string *hash)
zend_string *(* hash)(const zend_string *password, zend_array *options)
bool(* needs_rehash)(const zend_string *password, zend_array *options)
bool(* verify)(const zend_string *password, const zend_string *hash)
struct _zend_string zend_string
struct _zend_array zend_array