php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_crypt_r.h File Reference
#include "crypt_freesec.h"
#include "crypt_blowfish.h"

Go to the source code of this file.

Macros

#define MD5_HASH_MAX_LEN   120
 

Functions

void php_init_crypt_r (void)
 
void php_shutdown_crypt_r (void)
 
void _crypt_extended_init_r (void)
 
PHPAPI char * php_crypt_r (const char *__key, const char *__salt, struct php_crypt_extended_data *__data)
 
char * php_md5_crypt_r (const char *pw, const char *salt, char *out)
 
char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen)
 
char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen)
 

Macro Definition Documentation

◆ MD5_HASH_MAX_LEN

#define MD5_HASH_MAX_LEN   120

Definition at line 30 of file php_crypt_r.h.

Function Documentation

◆ _crypt_extended_init_r()

void _crypt_extended_init_r ( void )
extern

Definition at line 64 of file php_crypt_r.c.

◆ php_crypt_r()

PHPAPI char * php_crypt_r ( const char * __key,
const char * __salt,
struct php_crypt_extended_data * __data )

◆ php_init_crypt_r()

void php_init_crypt_r ( void )

Definition at line 50 of file php_crypt_r.c.

◆ php_md5_crypt_r()

char * php_md5_crypt_r ( const char * pw,
const char * salt,
char * out )
extern

Definition at line 101 of file php_crypt_r.c.

◆ php_sha256_crypt_r()

char * php_sha256_crypt_r ( const char * key,
const char * salt,
char * buffer,
int buflen )
extern

Definition at line 319 of file crypt_sha256.c.

◆ php_sha512_crypt_r()

char * php_sha512_crypt_r ( const char * key,
const char * salt,
char * buffer,
int buflen )
extern

Definition at line 358 of file crypt_sha512.c.

◆ php_shutdown_crypt_r()

void php_shutdown_crypt_r ( void )

Definition at line 57 of file php_crypt_r.c.