Home
last modified time | relevance | path

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

/PHP-8.3/ext/hash/tests/
H A Dhash_serialize_002.phpt2 Hash: serialize()/unserialize() with HASH_HMAC
16 $ctx0 = hash_init($algo, HASH_HMAC, $key);
29 HashContext with HASH_HMAC option cannot be serialized
31 HashContext with HASH_HMAC option cannot be serialized
33 HashContext with HASH_HMAC option cannot be serialized
35 HashContext with HASH_HMAC option cannot be serialized
37 HashContext with HASH_HMAC option cannot be serialized
39 HashContext with HASH_HMAC option cannot be serialized
41 HashContext with HASH_HMAC option cannot be serialized
43 HashContext with HASH_HMAC option cannot be serialized
[all …]
H A Dhash_init_error.phpt15 echo "\n-- Testing hash_init() function with HASH_HMAC and non-cryptographic algorithms --\n";
17 var_dump(hash_init('crc32', HASH_HMAC));
23 echo "\n-- Testing hash_init() function with HASH_HMAC and no key --\n";
25 var_dump(hash_init('md5', HASH_HMAC));
32 var_dump(hash_init('md5', HASH_HMAC, null));
46 -- Testing hash_init() function with HASH_HMAC and non-cryptographic algorithms --
49 -- Testing hash_init() function with HASH_HMAC and no key --
H A Dhmac-md5.phpt6 $ctx = hash_init('md5',HASH_HMAC,str_repeat(chr(0x0b), 16));
10 $ctx = hash_init('md5',HASH_HMAC,'Jefe');
H A Dhash_serialize_004.phpt19 …AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACI7fWk6MztpOjI7aTo0O2E6MDp7fX0=", // flags indicate HASH_HMAC
40 HashContext with HASH_HMAC option cannot be serialized
H A Dbug52240.phpt6 $h = hash_init('md5', HASH_HMAC, '123456');
/PHP-8.3/ext/hash/
H A Dhash.stub.php9 const HASH_HMAC = UNKNOWN; define

Completed in 16 milliseconds