Home
last modified time | relevance | path

Searched refs:hash_hmac_file (Results 1 – 6 of 6) sorted by relevance

/PHP-8.1/ext/hash/tests/
H A Dhash_hmac_file_basic.phpt2 Hash: hash_hmac_file() function : basic functionality
7 echo "*** Testing hash_hmac_file() : basic functionality ***\n";
9 $file = __DIR__ . "hash_hmac_file.txt";
31 echo "gost: " . hash_hmac_file('gost', $file, $key) . "\n";
33 echo "md2: " . hash_hmac_file('md2', $file, $key) . "\n";
34 echo "md4: " . hash_hmac_file('md4', $file, $key) . "\n";
35 echo "md5: " . hash_hmac_file('md5', $file, $key) . "\n";
40 echo "sha1: " . hash_hmac_file('sha1', $file, $key) . "\n";
41 echo "sha256: " . hash_hmac_file('sha256', $file, $key) . "\n";
42 echo "sha384: " . hash_hmac_file('sha384', $file, $key) . "\n";
[all …]
H A Dhash_hmac_file_error.phpt2 Hash: hash_hmac_file() function : basic functionality
11 echo "\n-- Testing hash_hmac_file() function with invalid hash algorithm --\n";
13 var_dump(hash_hmac_file('foo', $file, $key, TRUE));
21 var_dump(hash_hmac_file('crc32', $file, $key, TRUE));
27 echo "\n-- Testing hash_hmac_file() function with bad path --\n";
29 var_dump(hash_hmac_file('md5', $file.chr(0).$file, $key, TRUE));
39 -- Testing hash_hmac_file() function with invalid hash algorithm --
40 hash_hmac_file(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm
42 -- Testing hash_hmac_file() function with non-cryptographic hash algorithm --
45 -- Testing hash_hmac_file() function with bad path --
[all …]
/PHP-8.1/ext/hash/
H A Dhash.stub.php15 function hash_hmac_file(string $algo, string $filename, string $key, bool $binary = false): string|… function
H A Dhash_arginfo.h140 ZEND_FUNCTION(hash_hmac_file);
176 ZEND_FE(hash_hmac_file, arginfo_hash_hmac_file)
H A Dhash.c596 PHP_FUNCTION(hash_hmac_file) in PHP_FUNCTION() argument
/PHP-8.1/
H A DNEWS1525 . Fixed bug GH-7826 (Inconsistent argument name in hash_hmac_file and

Completed in 15 milliseconds