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