Linux vps-61133.fhnet.fr 4.9.0-19-amd64 #1 SMP Debian 4.9.320-2 (2022-06-30) x86_64
Apache/2.4.25 (Debian)
Server IP : 93.113.207.21 & Your IP : 216.73.216.35
Domains :
Cant Read [ /etc/named.conf ]
User : www-data
Terminal
Auto Root
Create File
Create Folder
Localroot Suggester
Backdoor Destroyer
Readme
/
usr /
src /
php-7.4.33 /
ext /
hash /
Delete
Unzip
Name
Size
Permission
Date
Action
.libs
[ DIR ]
drwxr-xr-x
2024-03-12 14:26
sha3
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
tests
[ DIR ]
drwxrwxr-x
2022-10-31 11:36
CREDITS
85
B
-rw-rw-r--
2022-10-31 11:36
bench.php
2.13
KB
-rwxrwxr-x
2022-10-31 11:36
config.m4
1.72
KB
-rw-rw-r--
2022-10-31 11:36
config.w32
1.25
KB
-rw-rw-r--
2022-10-31 11:36
hash.c
42.66
KB
-rw-rw-r--
2022-10-31 11:36
hash.lo
312
B
-rw-r--r--
2024-03-12 14:26
hash.o
220.61
KB
-rw-r--r--
2024-03-12 14:26
hash_adler32.c
2.53
KB
-rw-rw-r--
2022-10-31 11:36
hash_adler32.lo
336
B
-rw-r--r--
2024-03-12 14:26
hash_adler32.o
77.06
KB
-rw-r--r--
2024-03-12 14:26
hash_crc32.c
3.77
KB
-rw-rw-r--
2022-10-31 11:36
hash_crc32.lo
330
B
-rw-r--r--
2024-03-12 14:26
hash_crc32.o
82.4
KB
-rw-r--r--
2024-03-12 14:26
hash_fnv.c
5.86
KB
-rw-rw-r--
2022-10-31 11:36
hash_fnv.lo
324
B
-rw-r--r--
2024-03-12 14:26
hash_fnv.o
78.41
KB
-rw-r--r--
2024-03-12 14:26
hash_gost.c
11.11
KB
-rw-rw-r--
2022-10-31 11:36
hash_gost.lo
327
B
-rw-r--r--
2024-03-12 14:26
hash_gost.o
107.32
KB
-rw-r--r--
2024-03-12 14:26
hash_haval.c
18.89
KB
-rw-rw-r--
2022-10-31 11:36
hash_haval.lo
330
B
-rw-r--r--
2024-03-12 14:26
hash_haval.o
110.66
KB
-rw-r--r--
2024-03-12 14:26
hash_joaat.c
2.62
KB
-rw-rw-r--
2022-10-31 11:36
hash_joaat.lo
330
B
-rw-r--r--
2024-03-12 14:26
hash_joaat.o
73.61
KB
-rw-r--r--
2024-03-12 14:26
hash_md.c
20.1
KB
-rw-rw-r--
2022-10-31 11:36
hash_md.lo
321
B
-rw-r--r--
2024-03-12 14:26
hash_md.o
89.84
KB
-rw-r--r--
2024-03-12 14:26
hash_ripemd.c
24.14
KB
-rw-rw-r--
2022-10-31 11:36
hash_ripemd.lo
333
B
-rw-r--r--
2024-03-12 14:26
hash_ripemd.o
119.11
KB
-rw-r--r--
2024-03-12 14:26
hash_sha.c
34.74
KB
-rw-rw-r--
2022-10-31 11:36
hash_sha.lo
324
B
-rw-r--r--
2024-03-12 14:26
hash_sha.o
104.26
KB
-rw-r--r--
2024-03-12 14:26
hash_sha3.c
8.24
KB
-rw-rw-r--
2022-10-31 11:36
hash_sha3.lo
327
B
-rw-r--r--
2024-03-12 14:26
hash_sha3.o
79.13
KB
-rw-r--r--
2024-03-12 14:26
hash_snefru.c
5.77
KB
-rw-rw-r--
2022-10-31 11:36
hash_snefru.lo
333
B
-rw-r--r--
2024-03-12 14:26
hash_snefru.o
117.71
KB
-rw-r--r--
2024-03-12 14:26
hash_tiger.c
7.5
KB
-rw-rw-r--
2022-10-31 11:36
hash_tiger.lo
330
B
-rw-r--r--
2024-03-12 14:26
hash_tiger.o
133.93
KB
-rw-r--r--
2024-03-12 14:26
hash_whirlpool.c
15.55
KB
-rw-rw-r--
2022-10-31 11:36
hash_whirlpool.lo
342
B
-rw-r--r--
2024-03-12 14:26
hash_whirlpool.o
102.5
KB
-rw-r--r--
2024-03-12 14:26
php_hash.h
5.64
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_adler32.h
1.64
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_crc32.h
1.9
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_crc32_tables.h
10.42
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_fnv.h
2.76
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_gost.h
1.58
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_gost_tables.h
28.76
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_haval.h
2.18
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_joaat.h
1.52
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_md.h
3.75
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_ripemd.h
2.91
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_sha.h
4.03
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_sha3.h
2.34
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_snefru.h
1.66
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_snefru_tables.h
58.27
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_tiger.h
1.8
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_tiger_tables.h
41.31
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_whirlpool.h
1.59
KB
-rw-rw-r--
2022-10-31 11:36
php_hash_whirlpool_tables.h
53.86
KB
-rw-rw-r--
2022-10-31 11:36
Save
Rename
/* +----------------------------------------------------------------------+ | PHP Version 7 | +----------------------------------------------------------------------+ | Copyright (c) The PHP Group | +----------------------------------------------------------------------+ | This source file is subject to version 3.01 of the PHP license, | | that is bundled with this package in the file LICENSE, and is | | available through the world-wide-web at the following url: | | http://www.php.net/license/3_01.txt | | If you did not receive a copy of the PHP license and are unable to | | obtain it through the world-wide-web, please send a note to | | license@php.net so we can mail you a copy immediately. | +----------------------------------------------------------------------+ | Authors: Michael Wallner <mike@php.net> | | Sara Golemon <pollita@php.net> | +----------------------------------------------------------------------+ */ #include "php_hash.h" #include "php_hash_crc32.h" #include "php_hash_crc32_tables.h" PHP_HASH_API void PHP_CRC32Init(PHP_CRC32_CTX *context) { context->state = ~0; } PHP_HASH_API void PHP_CRC32Update(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) { size_t i; for (i = 0; i < len; ++i) { context->state = (context->state << 8) ^ crc32_table[(context->state >> 24) ^ (input[i] & 0xff)]; } } PHP_HASH_API void PHP_CRC32BUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) { size_t i; for (i = 0; i < len; ++i) { context->state = (context->state >> 8) ^ crc32b_table[(context->state ^ input[i]) & 0xff]; } } PHP_HASH_API void PHP_CRC32CUpdate(PHP_CRC32_CTX *context, const unsigned char *input, size_t len) { size_t i; for (i = 0; i < len; ++i) { context->state = (context->state >> 8) ^ crc32c_table[(context->state ^ input[i]) & 0xff]; } } PHP_HASH_API void PHP_CRC32LEFinal(unsigned char digest[4], PHP_CRC32_CTX *context) { context->state=~context->state; digest[3] = (unsigned char) ((context->state >> 24) & 0xff); digest[2] = (unsigned char) ((context->state >> 16) & 0xff); digest[1] = (unsigned char) ((context->state >> 8) & 0xff); digest[0] = (unsigned char) (context->state & 0xff); context->state = 0; } PHP_HASH_API void PHP_CRC32BEFinal(unsigned char digest[4], PHP_CRC32_CTX *context) { context->state=~context->state; digest[0] = (unsigned char) ((context->state >> 24) & 0xff); digest[1] = (unsigned char) ((context->state >> 16) & 0xff); digest[2] = (unsigned char) ((context->state >> 8) & 0xff); digest[3] = (unsigned char) (context->state & 0xff); context->state = 0; } PHP_HASH_API int PHP_CRC32Copy(const php_hash_ops *ops, PHP_CRC32_CTX *orig_context, PHP_CRC32_CTX *copy_context) { copy_context->state = orig_context->state; return SUCCESS; } const php_hash_ops php_hash_crc32_ops = { (php_hash_init_func_t) PHP_CRC32Init, (php_hash_update_func_t) PHP_CRC32Update, (php_hash_final_func_t) PHP_CRC32LEFinal, (php_hash_copy_func_t) PHP_CRC32Copy, 4, /* what to say here? */ 4, sizeof(PHP_CRC32_CTX), 0 }; const php_hash_ops php_hash_crc32b_ops = { (php_hash_init_func_t) PHP_CRC32Init, (php_hash_update_func_t) PHP_CRC32BUpdate, (php_hash_final_func_t) PHP_CRC32BEFinal, (php_hash_copy_func_t) PHP_CRC32Copy, 4, /* what to say here? */ 4, sizeof(PHP_CRC32_CTX), 0 }; const php_hash_ops php_hash_crc32c_ops = { (php_hash_init_func_t) PHP_CRC32Init, (php_hash_update_func_t) PHP_CRC32CUpdate, (php_hash_final_func_t) PHP_CRC32BEFinal, (php_hash_copy_func_t) PHP_CRC32Copy, 4, /* what to say here? */ 4, sizeof(PHP_CRC32_CTX), 0 };