php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
crypt.c File Reference
#include <stdlib.h>
#include "php.h"
#include <time.h>
#include <string.h>
#include "php_crypt.h"

Go to the source code of this file.

Macros

#define IS_VALID_SALT_CHARACTER(c)
 

Functions

PHPAPI zend_stringphp_crypt (const char *password, const int pass_len, const char *salt, int salt_len, bool quiet)
 
 PHP_FUNCTION (crypt)
 

Macro Definition Documentation

◆ IS_VALID_SALT_CHARACTER

#define IS_VALID_SALT_CHARACTER ( c)
Value:
(((c) >= '.' && (c) <= '9') || ((c) >= 'A' && (c) <= 'Z') || ((c) >= 'a' && (c) <= 'z'))

Definition at line 48 of file crypt.c.

Function Documentation

◆ php_crypt()

PHPAPI zend_string * php_crypt ( const char * password,
const int pass_len,
const char * salt,
int salt_len,
bool quiet )

Definition at line 70 of file crypt.c.

◆ PHP_FUNCTION()

PHP_FUNCTION ( crypt )

Definition at line 189 of file crypt.c.