summaryrefslogtreecommitdiffstats
path: root/REFLECTION
blob: a26f4d3f945fd2f13b4c465717c1a6273eaad10b (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
Extension [ <persistent> extension #105 libsodium version 0.1.1 ] {

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

      - Constants [25] {
        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_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_BOX_SECRETKEYBYTES ] { 32 }
        Constant [ integer CRYPTO_BOX_PUBLICKEYBYTES ] { 32 }
        Constant [ integer CRYPTO_BOX_KEYPAIRBYTES ] { 64 }
        Constant [ integer CRYPTO_BOX_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_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 }
      }

      - Static properties [0] {
      }

      - Static methods [29] {
        Method [ <internal:libsodium> static public method sodium_version_string ] {

          - Parameters [0] {
          }
        }

        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_memzero ] {

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

        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 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 crypto_shorthash ] {

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

        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_generichash ] {

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

        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_secretkey ] {

          - Parameters [1] {
            Parameter #0 [ <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 ] {

          - Parameters [3] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $nonce ]
            Parameter #2 [ <required> $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_sign_keypair ] {

          - Parameters [0] {
          }
        }

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

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

        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_secretkey ] {

          - Parameters [1] {
            Parameter #0 [ <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 ] {

          - Parameters [2] {
            Parameter #0 [ <required> $string ]
            Parameter #1 [ <required> $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_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 ]
          }
        }
      }

      - Properties [0] {
      }

      - Methods [0] {
      }
    }
  }
}