xref: /PHP-7.2/ext/hash/tests/hash_hmac_algos.phpt (revision f1d7e3ca)
1--TEST--
2Test hash_hmac_algos() function : basic functionality
3--SKIPIF--
4<?php extension_loaded('hash') or die('skip: hash extension not loaded.'); ?>
5--FILE--
6<?php
7
8print_r(hash_hmac_algos());
9--EXPECTF--
10Array
11(
12    [%d] => md2
13    [%d] => md4
14    [%d] => md5
15    [%d] => sha1
16    [%d] => sha224
17    [%d] => sha256
18    [%d] => sha384
19    [%d] => sha512/224
20    [%d] => sha512/256
21    [%d] => sha512
22    [%d] => sha3-224
23    [%d] => sha3-256
24    [%d] => sha3-384
25    [%d] => sha3-512
26    [%d] => ripemd128
27    [%d] => ripemd160
28    [%d] => ripemd256
29    [%d] => ripemd320
30    [%d] => whirlpool
31    [%d] => tiger128,3
32    [%d] => tiger160,3
33    [%d] => tiger192,3
34    [%d] => tiger128,4
35    [%d] => tiger160,4
36    [%d] => tiger192,4
37    [%d] => snefru
38    [%d] => snefru256
39    [%d] => gost
40    [%d] => gost-crypto
41    [%d] => haval128,3
42    [%d] => haval160,3
43    [%d] => haval192,3
44    [%d] => haval224,3
45    [%d] => haval256,3
46    [%d] => haval128,4
47    [%d] => haval160,4
48    [%d] => haval192,4
49    [%d] => haval224,4
50    [%d] => haval256,4
51    [%d] => haval128,5
52    [%d] => haval160,5
53    [%d] => haval192,5
54    [%d] => haval224,5
55    [%d] => haval256,5
56)
57