1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
|
--TEST--
Hash: hash_algos() function : basic functionality
--FILE--
<?php
/* Prototype : array hash_algos (void)
* Description: Return a list of registered hashing algorithms
* Source code: ext/hash/hash.c
* Alias to functions:
*/
echo "*** Testing hash_algos() : basic functionality ***\n";
var_dump(hash_algos());
?>
===Done===
--EXPECTF--
*** Testing hash_algos() : basic functionality ***
array(52) {
[%d]=>
string(3) "md2"
[%d]=>
string(3) "md4"
[%d]=>
string(3) "md5"
[%d]=>
string(4) "sha1"
[%d]=>
string(6) "sha224"
[%d]=>
string(6) "sha256"
[%d]=>
string(6) "sha384"
[%d]=>
string(10) "sha512/224"
[%d]=>
string(10) "sha512/256"
[%d]=>
string(6) "sha512"
[%d]=>
string(8) "sha3-224"
[%d]=>
string(8) "sha3-256"
[%d]=>
string(8) "sha3-384"
[%d]=>
string(8) "sha3-512"
[%d]=>
string(9) "ripemd128"
[%d]=>
string(9) "ripemd160"
[%d]=>
string(9) "ripemd256"
[%d]=>
string(9) "ripemd320"
[%d]=>
string(9) "whirlpool"
[%d]=>
string(10) "tiger128,3"
[%d]=>
string(10) "tiger160,3"
[%d]=>
string(10) "tiger192,3"
[%d]=>
string(10) "tiger128,4"
[%d]=>
string(10) "tiger160,4"
[%d]=>
string(10) "tiger192,4"
[%d]=>
string(6) "snefru"
[%d]=>
string(9) "snefru256"
[%d]=>
string(4) "gost"
[%d]=>
string(11) "gost-crypto"
[%d]=>
string(7) "adler32"
[%d]=>
string(5) "crc32"
[%d]=>
string(6) "crc32b"
[%d]=>
string(6) "fnv132"
[%d]=>
string(7) "fnv1a32"
[%d]=>
string(6) "fnv164"
[%d]=>
string(7) "fnv1a64"
[%d]=>
string(5) "joaat"
[%d]=>
string(10) "haval128,3"
[%d]=>
string(10) "haval160,3"
[%d]=>
string(10) "haval192,3"
[%d]=>
string(10) "haval224,3"
[%d]=>
string(10) "haval256,3"
[%d]=>
string(10) "haval128,4"
[%d]=>
string(10) "haval160,4"
[%d]=>
string(10) "haval192,4"
[%d]=>
string(10) "haval224,4"
[%d]=>
string(10) "haval256,4"
[%d]=>
string(10) "haval128,5"
[%d]=>
string(10) "haval160,5"
[%d]=>
string(10) "haval192,5"
[%d]=>
string(10) "haval224,5"
[%d]=>
string(10) "haval256,5"
}
===Done===
|