Searched refs:hash_hmac (Results 1 – 7 of 7) sorted by relevance
/PHP-8.1/ext/hash/tests/ |
H A D | hash_hmac_basic.phpt | 6 echo "*** Testing hash_hmac() : basic functionality ***\n"; 11 echo "gost: " . hash_hmac('gost', $content, $key) . "\n"; 13 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 14 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 15 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 20 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 21 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 22 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; 23 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n"; 24 echo "snefru: " . hash_hmac('snefru', $content, $key) . "\n"; [all …]
|
H A D | hash_hmac_error.phpt | 2 Hash: hash_hmac() function : basic functionality 9 echo "*** Testing hash_hmac() : error conditions ***\n"; 14 echo "\n-- Testing hash_hmac() function with invalid hash algorithm --\n"; 16 var_dump(hash_hmac('foo', $data, $key)); 22 echo "\n-- Testing hash_hmac() function with non-cryptographic hash algorithm --\n"; 24 var_dump(hash_hmac('crc32', $data, $key)); 32 *** Testing hash_hmac() : error conditions *** 34 -- Testing hash_hmac() function with invalid hash algorithm -- 35 hash_hmac(): Argument #1 ($algo) must be a valid cryptographic hashing algorithm 37 -- Testing hash_hmac() function with non-cryptographic hash algorithm -- [all …]
|
H A D | hmac-md5.phpt | 14 echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
|
/PHP-8.1/ext/hash/ |
H A D | hash.stub.php | 12 function hash_hmac(string $algo, string $data, string $key, bool $binary = false): string {} function
|
H A D | hash_arginfo.h | 139 ZEND_FUNCTION(hash_hmac); 175 ZEND_FE(hash_hmac, arginfo_hash_hmac)
|
H A D | hash.c | 579 PHP_FUNCTION(hash_hmac) in PHP_FUNCTION() argument
|
/PHP-8.1/ |
H A D | NEWS | 1523 . Fixed bug GH-7759 (Incorrect return types for hash() and hash_hmac()).
|
Completed in 15 milliseconds