php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_password.h File Reference

Go to the source code of this file.

Data Structures

struct  _php_password_algo
 

Macros

#define PHP_PASSWORD_DEFAULT   PHP_PASSWORD_BCRYPT
 
#define PHP_PASSWORD_BCRYPT_COST   12
 

Typedefs

typedef struct _php_password_algo php_password_algo
 

Functions

 PHP_MINIT_FUNCTION (password)
 
 PHP_MSHUTDOWN_FUNCTION (password)
 
PHPAPI int php_password_algo_register (const char *, const php_password_algo *)
 
PHPAPI void php_password_algo_unregister (const char *)
 
PHPAPI const php_password_algophp_password_algo_default (void)
 
PHPAPI zend_stringphp_password_algo_extract_ident (const zend_string *)
 
PHPAPI const php_password_algophp_password_algo_find (const zend_string *)
 
PHPAPI const php_password_algophp_password_algo_identify_ex (const zend_string *, const php_password_algo *)
 

Variables

const php_password_algo php_password_algo_bcrypt
 

Macro Definition Documentation

◆ PHP_PASSWORD_BCRYPT_COST

#define PHP_PASSWORD_BCRYPT_COST   12

Definition at line 25 of file php_password.h.

◆ PHP_PASSWORD_DEFAULT

#define PHP_PASSWORD_DEFAULT   PHP_PASSWORD_BCRYPT

Definition at line 24 of file php_password.h.

Typedef Documentation

◆ php_password_algo

Function Documentation

◆ PHP_MINIT_FUNCTION()

PHP_MINIT_FUNCTION ( password )

◆ PHP_MSHUTDOWN_FUNCTION()

PHP_MSHUTDOWN_FUNCTION ( password )

◆ php_password_algo_default()

PHPAPI const php_password_algo * php_password_algo_default ( void )

Definition at line 455 of file password.c.

◆ php_password_algo_extract_ident()

PHPAPI zend_string * php_password_algo_extract_ident ( const zend_string * hash)

Definition at line 510 of file password.c.

◆ php_password_algo_find()

PHPAPI const php_password_algo * php_password_algo_find ( const zend_string * ident)

Definition at line 459 of file password.c.

◆ php_password_algo_identify_ex()

PHPAPI const php_password_algo * php_password_algo_identify_ex ( const zend_string * hash,
const php_password_algo * default_algo )

Definition at line 528 of file password.c.

◆ php_password_algo_register()

PHPAPI int php_password_algo_register ( const char * ident,
const php_password_algo * algo )

Definition at line 40 of file password.c.

◆ php_password_algo_unregister()

PHPAPI void php_password_algo_unregister ( const char * ident)

Definition at line 45 of file password.c.

Variable Documentation

◆ php_password_algo_bcrypt

const php_password_algo php_password_algo_bcrypt
extern

Definition at line 224 of file password.c.