summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: 78d1ee5a786d55041e46a63b86c2a73a697c6bd1 (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
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
Extension [ <persistent> extension #114 libsodium version 0.1.3 ] {

  - Classes [1] {
    Class [ <internal:libsodium> class Sodium ] {

      - Constants [33] {
        Constant [ integer CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES ] { 32 }
        Constant [ integer CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES ] { 0 }
        Constant [ integer CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES ] { 8 }
        Constant [ integer CRYPTO_AEAD_CHACHA20POLY1305_ABYTES ] { 16 }
        Constant [ integer CRYPTO_BOX_SECRETKEYBYTES ] { 32 }
        Constant [ integer CRYPTO_BOX_PUBLICKEYBYTES ] { 32 }
        Constant [ integer CRYPTO_BOX_KEYPAIRBYTES ] { 64 }
        Constant [ integer CRYPTO_BOX_NONCEBYTES ] { 24 }
        Constant [ integer CRYPTO_GENERICHASH_BYTES ] { 32 }
        Constant [ integer CRYPTO_GENERICHASH_BYTES_MIN ] { 16 }
        Constant [ integer CRYPTO_GENERICHASH_BYTES_MAX ] { 64 }
        Constant [ integer CRYPTO_GENERICHASH_KEYBYTES ] { 32 }
        Constant [ integer CRYPTO_GENERICHASH_KEYBYTES_MIN ] { 16 }
        Constant [ integer CRYPTO_GENERICHASH_KEYBYTES_MAX ] { 64 }
        Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES ] { 32 }
        Constant [ string CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX ] { $7$ }
        Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE ] { 524288 }
        Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE ] { 16777216 }
        Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE ] { 33554432 }
        Constant [ integer CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE ] { 1073741824 }
        Constant [ integer CRYPTO_SCALARMULT_BYTES ] { 32 }
        Constant [ integer CRYPTO_SCALARMULT_SCALARBYTES ] { 32 }
        Constant [ integer CRYPTO_SHORTHASH_BYTES ] { 8 }
        Constant [ integer CRYPTO_SHORTHASH_KEYBYTES ] { 16 }
        Constant [ integer CRYPTO_SECRETBOX_KEYBYTES ] { 32 }
        Constant [ integer CRYPTO_SECRETBOX_NONCEBYTES ] { 24 }
        Constant [ integer CRYPTO_SIGN_BYTES ] { 64 }
        Constant [ integer CRYPTO_SIGN_SEEDBYTES ] { 32 }
        Constant [ integer CRYPTO_SIGN_PUBLICKEYBYTES ] { 32 }
        Constant [ integer CRYPTO_SIGN_SECRETKEYBYTES ] { 64 }
        Constant [ integer CRYPTO_SIGN_KEYPAIRBYTES ] { 96 }
        Constant [ integer CRYPTO_STREAM_NONCEBYTES ] { 24 }
        Constant [ integer CRYPTO_STREAM_KEYBYTES ] { 32 }
      }

      - Static properties [0] {
      }

      - Static methods [38] {
        Method [ <internal:libsodium> static public method crypto_aead_chacha20poly1305_decrypt ] {

          - Parameters [4] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $ad ]
            Parameter #2 [ <required> $nonce ]
            Parameter #3 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_aead_chacha20poly1305_encrypt ] {

          - Parameters [4] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $ad ]
            Parameter #2 [ <required> $nonce ]
            Parameter #3 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_keypair ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_keypair_from_secretkey_and_publickey ] {

          - Parameters [2] {
            Parameter #0 [ <required> $secret_key ]
            Parameter #1 [ <required> $public_key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_open ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_publickey ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_publickey_from_secretkey ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_box_secretkey ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_generichash ] {

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

        Method [ <internal:libsodium> static public method crypto_pwhash_scryptsalsa208sha256 ] {

          - Parameters [5] {
            Parameter #0 [ <required> $length ]
            Parameter #1 [ <required> $password ]
            Parameter #2 [ <required> $salt ]
            Parameter #3 [ <required> $opslimit ]
            Parameter #4 [ <required> $memlimit ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_pwhash_scryptsalsa208sha256_str ] {

          - Parameters [3] {
            Parameter #0 [ <required> $password ]
            Parameter #1 [ <required> $opslimit ]
            Parameter #2 [ <required> $memlimit ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_pwhash_scryptsalsa208sha256_str_verify ] {

          - Parameters [2] {
            Parameter #0 [ <required> $hash ]
            Parameter #1 [ <required> $password ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_scalarmult ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string_1 ]
            Parameter #1 [ <required> $string_2 ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_secretbox ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_secretbox_open ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_shorthash ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_detached ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_keypair ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_keypair_from_secretkey_and_publickey ] {

          - Parameters [2] {
            Parameter #0 [ <required> $secret_key ]
            Parameter #1 [ <required> $public_key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_open ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_publickey ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_secretkey ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_seed_keypair ] {

          - Parameters [1] {
            Parameter #0 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_sign_verify_detached ] {

          - Parameters [3] {
            Parameter #0 [ <required> $signature ]
            Parameter #1 [ <required> $string ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_stream ] {

          - Parameters [3] {
            Parameter #0 [ <required> $length ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method crypto_stream_xor ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $key ]
          }
        }

        Method [ <internal:libsodium> static public method randombytes_buf ] {

          - Parameters [1] {
            Parameter #0 [ <required> $length ]
          }
        }

        Method [ <internal:libsodium> static public method randombytes_random16 ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:libsodium> static public method randombytes_uniform ] {

          - Parameters [1] {
            Parameter #0 [ <required> $integer ]
          }
        }

        Method [ <internal:libsodium> static public method sodium_bin2hex ] {

          - Parameters [1] {
            Parameter #0 [ <required> $string ]
          }
        }

        Method [ <internal:libsodium> static public method sodium_hex2bin ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string_1 ]
            Parameter #1 [ <required> $string_2 ]
          }
        }

        Method [ <internal:libsodium> static public method sodium_library_version_major ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:libsodium> static public method sodium_library_version_minor ] {

          - Parameters [0] {
          }
        }

        Method [ <internal:libsodium> static public method sodium_memcmp ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string_1 ]
            Parameter #1 [ <required> $string_2 ]
          }
        }

        Method [ <internal:libsodium> static public method sodium_memzero ] {

          - Parameters [2] {
            Parameter #0 [ <required> &$reference ]
            Parameter #1 [ <required> $length ]
          }
        }

        Method [ <internal:libsodium> static public method sodium_version_string ] {

          - Parameters [0] {
          }
        }
      }

      - Properties [0] {
      }

      - Methods [0] {
      }
    }
  }
}