php-internal-docs 8.4.8
Unofficial docs for php/php-src
Loading...
Searching...
No Matches
php_crypt_r.h
Go to the documentation of this file.
1/*
2 +----------------------------------------------------------------------+
3 | Copyright (c) The PHP Group |
4 +----------------------------------------------------------------------+
5 | This source file is subject to version 3.01 of the PHP license, |
6 | that is bundled with this package in the file LICENSE, and is |
7 | available through the world-wide-web at the following url: |
8 | https://www.php.net/license/3_01.txt |
9 | If you did not receive a copy of the PHP license and are unable to |
10 | obtain it through the world-wide-web, please send a note to |
11 | license@php.net so we can mail you a copy immediately. |
12 +----------------------------------------------------------------------+
13 | Authors: Pierre Alain Joye <pajoye@php.net |
14 +----------------------------------------------------------------------+
15 */
16
17#ifndef _CRYPT_WIHN32_H_
18#define _CRYPT_WIHN32_H_
19
21#include "crypt_freesec.h"
22
23void php_init_crypt_r(void);
24void php_shutdown_crypt_r(void);
25
26extern void _crypt_extended_init_r(void);
27
28PHPAPI char *php_crypt_r (const char *__key, const char *__salt, struct php_crypt_extended_data * __data);
29
30#define MD5_HASH_MAX_LEN 120
31
32#include "crypt_blowfish.h"
33
34extern char * php_md5_crypt_r(const char *pw, const char *salt, char *out);
35extern char * php_sha512_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
36extern char * php_sha256_crypt_r (const char *key, const char *salt, char *buffer, int buflen);
38
39#endif /* _CRYPT_WIHN32_H_ */
#define PHPAPI
Definition php.h:71
void php_shutdown_crypt_r(void)
Definition php_crypt_r.c:57
void php_init_crypt_r(void)
Definition php_crypt_r.c:50
void _crypt_extended_init_r(void)
Definition php_crypt_r.c:64
char * php_md5_crypt_r(const char *pw, const char *salt, char *out)
PHPAPI char * php_crypt_r(const char *__key, const char *__salt, struct php_crypt_extended_data *__data)
char * php_sha256_crypt_r(const char *key, const char *salt, char *buffer, int buflen)
char * php_sha512_crypt_r(const char *key, const char *salt, char *buffer, int buflen)
unsigned char key[REFLECTION_KEY_LEN]
Definition file.h:177
#define END_EXTERN_C()
#define BEGIN_EXTERN_C()
out($f, $s)