Searched refs:hash_hmac (Results 1 – 5 of 5) sorted by relevance
/PHP-5.3/ext/hash/tests/ |
H A D | hash_hmac_error.phpt | 2 Test hash_hmac() function : basic functionality 12 echo "*** Testing hash_hmac() : error conditions ***\n"; 18 var_dump(hash_hmac()); 19 var_dump(hash_hmac('crc32')); 20 var_dump(hash_hmac('crc32', $data)); 24 var_dump(hash_hmac('crc32', $data, $key, TRUE, $extra_arg)); 26 echo "\n-- Testing hash_hmac() function with invalid hash algorithm --\n"; 27 var_dump(hash_hmac('foo', $data, $key)); 32 *** Testing hash_hmac() : error conditions *** 50 -- Testing hash_hmac() function with invalid hash algorithm -- [all …]
|
H A D | hash_hmac_basic.phpt | 14 echo "*** Testing hash_hmac() : basic functionality ***\n"; 19 echo "adler32: " . hash_hmac('adler32', $content, $key) . "\n"; 20 echo "crc32: " . hash_hmac('crc32', $content, $key) . "\n"; 21 echo "gost: " . hash_hmac('gost', $content, $key) . "\n"; 23 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 24 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 25 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 30 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 31 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 32 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; [all …]
|
H A D | hmac-md5.phpt | 16 echo hash_hmac('md5', str_repeat(chr(0xDD), 50), str_repeat(chr(0xAA), 16)) . "\n";
|
/PHP-5.3/ext/hash/ |
H A D | php_hash.h | 121 PHP_FUNCTION(hash_hmac);
|
H A D | hash.c | 294 PHP_FUNCTION(hash_hmac) in PHP_FUNCTION() argument 1032 PHP_FE(hash_hmac, arginfo_hash_hmac)
|
Completed in 15 milliseconds