summaryrefslogtreecommitdiffstats
path: root/reflection/hash.txt
blob: 820dd4f6fe233f67cfb44785ad40ff512ad5dc48 (plain)
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
Extension [ <persistent> extension #16 hash version 1.0 ] {

  - Constants [32] {
    Constant [ integer HASH_HMAC ] { 1 }
    Constant [ integer MHASH_CRC32 ] { 0 }
    Constant [ integer MHASH_MD5 ] { 1 }
    Constant [ integer MHASH_SHA1 ] { 2 }
    Constant [ integer MHASH_HAVAL256 ] { 3 }
    Constant [ integer MHASH_RIPEMD160 ] { 5 }
    Constant [ integer MHASH_TIGER ] { 7 }
    Constant [ integer MHASH_GOST ] { 8 }
    Constant [ integer MHASH_CRC32B ] { 9 }
    Constant [ integer MHASH_HAVAL224 ] { 10 }
    Constant [ integer MHASH_HAVAL192 ] { 11 }
    Constant [ integer MHASH_HAVAL160 ] { 12 }
    Constant [ integer MHASH_HAVAL128 ] { 13 }
    Constant [ integer MHASH_TIGER128 ] { 14 }
    Constant [ integer MHASH_TIGER160 ] { 15 }
    Constant [ integer MHASH_MD4 ] { 16 }
    Constant [ integer MHASH_SHA256 ] { 17 }
    Constant [ integer MHASH_ADLER32 ] { 18 }
    Constant [ integer MHASH_SHA224 ] { 19 }
    Constant [ integer MHASH_SHA512 ] { 20 }
    Constant [ integer MHASH_SHA384 ] { 21 }
    Constant [ integer MHASH_WHIRLPOOL ] { 22 }
    Constant [ integer MHASH_RIPEMD128 ] { 23 }
    Constant [ integer MHASH_RIPEMD256 ] { 24 }
    Constant [ integer MHASH_RIPEMD320 ] { 25 }
    Constant [ integer MHASH_SNEFRU256 ] { 27 }
    Constant [ integer MHASH_MD2 ] { 28 }
    Constant [ integer MHASH_FNV132 ] { 29 }
    Constant [ integer MHASH_FNV1A32 ] { 30 }
    Constant [ integer MHASH_FNV164 ] { 31 }
    Constant [ integer MHASH_FNV1A64 ] { 32 }
    Constant [ integer MHASH_JOAAT ] { 33 }
  }

  - Functions {
    Function [ <internal:hash> function hash ] {

      - Parameters [3] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <required> $data ]
        Parameter #2 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function hash_file ] {

      - Parameters [3] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <required> $filename ]
        Parameter #2 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function hash_hmac ] {

      - Parameters [4] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <required> $data ]
        Parameter #2 [ <required> $key ]
        Parameter #3 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function hash_hmac_file ] {

      - Parameters [4] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <required> $filename ]
        Parameter #2 [ <required> $key ]
        Parameter #3 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function hash_init ] {

      - Parameters [3] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <optional> $options ]
        Parameter #2 [ <optional> $key ]
      }
    }
    Function [ <internal:hash> function hash_update ] {

      - Parameters [2] {
        Parameter #0 [ <required> $context ]
        Parameter #1 [ <required> $data ]
      }
    }
    Function [ <internal:hash> function hash_update_stream ] {

      - Parameters [3] {
        Parameter #0 [ <required> $context ]
        Parameter #1 [ <required> $handle ]
        Parameter #2 [ <optional> $length ]
      }
    }
    Function [ <internal:hash> function hash_update_file ] {

      - Parameters [3] {
        Parameter #0 [ <required> $context ]
        Parameter #1 [ <required> $filename ]
        Parameter #2 [ <optional> $context ]
      }
    }
    Function [ <internal:hash> function hash_final ] {

      - Parameters [2] {
        Parameter #0 [ <required> $context ]
        Parameter #1 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function hash_copy ] {

      - Parameters [1] {
        Parameter #0 [ <required> $context ]
      }
    }
    Function [ <internal:hash> function hash_algos ] {

      - Parameters [0] {
      }
    }
    Function [ <internal:hash> function hash_pbkdf2 ] {

      - Parameters [6] {
        Parameter #0 [ <required> $algo ]
        Parameter #1 [ <required> $password ]
        Parameter #2 [ <required> $salt ]
        Parameter #3 [ <required> $iterations ]
        Parameter #4 [ <optional> $length ]
        Parameter #5 [ <optional> $raw_output ]
      }
    }
    Function [ <internal:hash> function mhash_keygen_s2k ] {

      - Parameters [4] {
        Parameter #0 [ <required> $hash ]
        Parameter #1 [ <required> $input_password ]
        Parameter #2 [ <required> $salt ]
        Parameter #3 [ <required> $bytes ]
      }
    }
    Function [ <internal:hash> function mhash_get_block_size ] {

      - Parameters [1] {
        Parameter #0 [ <required> $hash ]
      }
    }
    Function [ <internal:hash> function mhash_get_hash_name ] {

      - Parameters [1] {
        Parameter #0 [ <required> $hash ]
      }
    }
    Function [ <internal:hash> function mhash_count ] {

      - Parameters [0] {
      }
    }
    Function [ <internal:hash> function mhash ] {

      - Parameters [3] {
        Parameter #0 [ <required> $hash ]
        Parameter #1 [ <required> $data ]
        Parameter #2 [ <optional> $key ]
      }
    }
  }
}