Searched refs:hash_hmac (Results 1 – 7 of 7) sorted by relevance
/PHP-7.2/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('md5')); 20 var_dump(hash_hmac('md5', $data)); 24 var_dump(hash_hmac('md5', $data, $key, TRUE, $extra_arg)); 27 var_dump(hash_hmac('foo', $data, $key)); 30 var_dump(hash_hmac('crc32', $data, $key)); 35 *** Testing hash_hmac() : error conditions *** 53 -- 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 "gost: " . hash_hmac('gost', $content, $key) . "\n"; 21 echo "md2: " . hash_hmac('md2', $content, $key) . "\n"; 22 echo "md4: " . hash_hmac('md4', $content, $key) . "\n"; 23 echo "md5: " . hash_hmac('md5', $content, $key) . "\n"; 28 echo "sha1: " . hash_hmac('sha1', $content, $key) . "\n"; 29 echo "sha256: " . hash_hmac('sha256', $content, $key) . "\n"; 30 echo "sha384: " . hash_hmac('sha384', $content, $key) . "\n"; 31 echo "sha512: " . hash_hmac('sha512', $content, $key) . "\n"; 32 echo "snefru: " . hash_hmac('snefru', $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";
|
H A D | hash_pbkdf2_basic.phpt | 8 /* Prototype : string hash_hmac(string $algo, string $data, string $key [, int $length = 0 [, bool…
|
/PHP-7.2/ext/hash/ |
H A D | php_hash.h | 140 PHP_FUNCTION(hash_hmac);
|
H A D | hash.c | 319 PHP_FUNCTION(hash_hmac) in PHP_FUNCTION() argument 1437 PHP_FE(hash_hmac, arginfo_hash_hmac)
|
/PHP-7.2/ |
H A D | UPGRADING | 52 . The hash_hmac(), hash_hmac_file(), hash_pbkdf2() and hash_init() (with
|
Completed in 28 milliseconds