Home
last modified time | relevance | path

Searched refs:hash (Results 51 – 75 of 163) sorted by relevance

1234567

/PHP-7.4/ext/hash/
H A Dconfig.m436 PHP_ADD_BUILD_DIR(ext/hash/$SHA3_DIR, 1)
39 EXT_HASH_SOURCES="hash.c hash_md.c hash_sha.c hash_ripemd.c hash_haval.c \
47 PHP_NEW_EXTENSION(hash, $EXT_HASH_SOURCES, 0,,$PHP_HASH_CFLAGS)
48 PHP_INSTALL_HEADERS(ext/hash, $EXT_HASH_HEADERS)
H A DCREDITS1 PHP hash
H A Dbench.php82 hash($algo, $data);
/PHP-7.4/ext/phar/tests/cache_list/
H A Dcopyonwrite12.phar.phpt13 ["hash"]=>
19 ["hash"]=>
/PHP-7.4/Zend/tests/
H A Darray_hash_zero.phpt11 foreach ($hashes as $hash => $bits) {
12 var_dump($hashes[$hash], $bits);
H A Dproperty_guard_hash_val.phpt2 Test property guard hash value assumption
/PHP-7.4/ext/hash/tests/
H A Dhash_file_basic.phpt8 * Description: Generate a hash of a given file
9 * Source code: ext/hash/hash.c
H A Dhash_hkdf_error.phpt8 * Source code: ext/hash/hash.c
22 echo "\n-- Testing hash_hkdf() function with invalid hash algorithm --\n";
25 echo "\n-- Testing hash_hkdf() function with non-cryptographic hash algorithm --\n";
38 var_dump(hash_hkdf('sha1', $ikm, 20 * 255 + 1)); // Length can't be more than 255 times the hash di…
57 -- Testing hash_hkdf() function with invalid hash algorithm --
62 -- Testing hash_hkdf() function with non-cryptographic hash algorithm --
H A Dhash_pbkdf2_basic.phpt7 * Description: Generate a keyed hash value using the HMAC method
8 * Source code: ext/hash/hash.c
H A Dhaval.phpt9 echo $algo . ': ' . hash($algo,'') . "\n";
16 echo $algo . ': ' . hash($algo,'abc') . "\n";
23 …echo $algo . ': ' . hash($algo,'abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMOPQRSTUVWXYZ0123456789abcde…
H A Dhash_pbkdf2_error.phpt7 Generate a PBKDF2 hash of the given password and salt
24 echo "\n-- Testing hash_pbkdf2() function with invalid hash algorithm --\n";
27 echo "\n-- Testing hash_pbkdf2() function with non-cryptographic hash algorithm --\n";
61 -- Testing hash_pbkdf2() function with invalid hash algorithm --
66 -- Testing hash_pbkdf2() function with non-cryptographic hash algorithm --
H A Dhash_hkdf_edges.phpt8 * Source code: ext/hash/hash.c
H A Dhash_file_error.phpt8 * Description: Generate a hash of a given file
9 * Source code: ext/hash/hash.c
H A Dhash_hmac_basic.phpt7 * Description: Generate a keyed hash value using the HMAC method
8 * Source code: ext/hash/hash.c
/PHP-7.4/ext/spl/tests/
H A Diterator_057.phpt8 * From Docs: Construct a new array iterator from anything that has a hash table.
9 * NULL, NOTHING is not a hash table ;)
/PHP-7.4/ext/intl/collator/
H A Dcollator_convert.h24 void collator_convert_hash_from_utf8_to_utf16( HashTable* hash, UErrorCode* status );
25 void collator_convert_hash_from_utf16_to_utf8( HashTable* hash, UErrorCode* status );
H A Dcollator_sort.c297 HashTable* hash = NULL; in collator_sort_internal() local
318 hash = Z_ARRVAL_P( array ); in collator_sort_internal()
321 collator_convert_hash_from_utf8_to_utf16( hash, COLLATOR_ERROR_CODE_P( co ) ); in collator_sort_internal()
329 zend_hash_sort(hash, collator_compare_func, renumber); in collator_sort_internal()
335 collator_convert_hash_from_utf16_to_utf8( hash, COLLATOR_ERROR_CODE_P( co ) ); in collator_sort_internal()
373 HashTable* hash = NULL; in PHP_FUNCTION() local
421 hash = Z_ARRVAL_P( array ); in PHP_FUNCTION()
423 if( !hash || zend_hash_num_elements( hash ) == 0 ) in PHP_FUNCTION()
432 ZEND_HASH_FOREACH_VAL(hash, hashData) { in PHP_FUNCTION()
/PHP-7.4/ext/sodium/tests/
H A Dphp_password_hash_argon2i.phpt27 $hash = password_hash($password, 'argon2i', $opts);
28 echo "Hash: "; var_dump($hash);
29 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
33 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
H A Dphp_password_hash_argon2id.phpt27 $hash = password_hash($password, 'argon2id', $opts);
28 echo "Hash: "; var_dump($hash);
29 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
33 var_dump(sodium_crypto_pwhash_str_verify($hash, $password));
/PHP-7.4/ext/oci8/
H A Doci8_statement.c1010 HashTable *hash; in php_oci_bind_post_exec() local
1013 hash = Z_ARRVAL_P(zv); in php_oci_bind_post_exec()
1738 HashTable *hash; in php_oci_bind_array_helper_string() local
1742 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_string()
1755 zend_hash_move_forward(hash); in php_oci_bind_array_helper_string()
1827 HashTable *hash; in php_oci_bind_array_helper_number() local
1831 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_number()
1868 HashTable *hash; in php_oci_bind_array_helper_double() local
1872 hash = Z_ARRVAL_P(var); in php_oci_bind_array_helper_double()
1909 HashTable *hash; in php_oci_bind_array_helper_date() local
[all …]
/PHP-7.4/sapi/phpdbg/
H A Dphpdbg_cmd.c196 zend_ulong hash = param->type; in phpdbg_hash_param() local
204 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
213 hash += zend_inline_hash_func(param->file.name, strlen(param->file.name)); in phpdbg_hash_param()
214 hash += param->file.line; in phpdbg_hash_param()
216 hash += param->num; in phpdbg_hash_param()
220 hash += param->addr; in phpdbg_hash_param()
224 hash += param->num; in phpdbg_hash_param()
228 hash += zend_inline_hash_func(param->str, param->len); in phpdbg_hash_param()
229 hash += param->num; in phpdbg_hash_param()
236 hash+= param->num; in phpdbg_hash_param()
[all …]
/PHP-7.4/ext/opcache/Optimizer/
H A Dcompact_literals.c81 static uint32_t add_static_slot(HashTable *hash, in add_static_slot() argument
106 pos = zend_hash_find(hash, key); in add_static_slot()
113 zend_hash_add(hash, key, &tmp); in add_static_slot()
129 HashTable hash, double_hash; in zend_optimizer_compact_literals() local
378 if ((pos = zend_hash_find(&hash, key)) != NULL in zend_optimizer_compact_literals()
385 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals()
423 if (key && (pos = zend_hash_find(&hash, key)) != NULL && in zend_optimizer_compact_literals()
442 zend_hash_add_new(&hash, key, &zv); in zend_optimizer_compact_literals()
489 zend_hash_clean(&hash); in zend_optimizer_compact_literals()
644 opline->result.num = add_static_slot(&hash, op_array, in zend_optimizer_compact_literals()
[all …]
/PHP-7.4/ext/standard/tests/strings/
H A Dcrypt.phpt32 …ied. You must use a randomly generated salt and a strong hash function to produce a secure hash. i…
/PHP-7.4/ext/standard/html_tables/
H A Dhtml_table_gen.php727 $hash = 5381;
732 $hash = (int)(((int)(((int)($hash << 5)) + $hash)) + ord($str[$pos++]))
735 return $hash;
/PHP-7.4/ext/phar/tests/
H A Dbug79797.phpt2 Bug #79797 (Use of freed hash key in the phar_parse_zipfile function)

Completed in 48 milliseconds

1234567