diff options
Diffstat (limited to 'REFLECTION')
-rw-r--r-- | REFLECTION | 607 |
1 files changed, 305 insertions, 302 deletions
@@ -1,352 +1,355 @@ -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 ] { +Extension [ <persistent> extension #114 libsodium version 0.2.0 ] { + + - Constants [36] { + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NSECBYTES ] { 0 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_NPUBBYTES ] { 8 } + Constant [ integer Sodium\CRYPTO_AEAD_CHACHA20POLY1305_ABYTES ] { 16 } + Constant [ integer Sodium\CRYPTO_BOX_SECRETKEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_BOX_PUBLICKEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_BOX_KEYPAIRBYTES ] { 64 } + Constant [ integer Sodium\CRYPTO_BOX_NONCEBYTES ] { 24 } + Constant [ integer Sodium\CRYPTO_KX_BYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_KX_PUBLICKEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_KX_SECRETKEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_BYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_BYTES_MIN ] { 16 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_BYTES_MAX ] { 64 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MIN ] { 16 } + Constant [ integer Sodium\CRYPTO_GENERICHASH_KEYBYTES_MAX ] { 64 } + Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_SALTBYTES ] { 32 } + Constant [ string Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_STRPREFIX ] { $7$ } + Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_INTERACTIVE ] { 524288 } + Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_INTERACTIVE ] { 16777216 } + Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_OPSLIMIT_SENSITIVE ] { 33554432 } + Constant [ integer Sodium\CRYPTO_PWHASH_SCRYPTSALSA208SHA256_MEMLIMIT_SENSITIVE ] { 1073741824 } + Constant [ integer Sodium\CRYPTO_SCALARMULT_BYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SCALARMULT_SCALARBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SHORTHASH_BYTES ] { 8 } + Constant [ integer Sodium\CRYPTO_SHORTHASH_KEYBYTES ] { 16 } + Constant [ integer Sodium\CRYPTO_SECRETBOX_KEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SECRETBOX_NONCEBYTES ] { 24 } + Constant [ integer Sodium\CRYPTO_SIGN_BYTES ] { 64 } + Constant [ integer Sodium\CRYPTO_SIGN_SEEDBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SIGN_PUBLICKEYBYTES ] { 32 } + Constant [ integer Sodium\CRYPTO_SIGN_SECRETKEYBYTES ] { 64 } + Constant [ integer Sodium\CRYPTO_SIGN_KEYPAIRBYTES ] { 96 } + Constant [ integer Sodium\CRYPTO_STREAM_NONCEBYTES ] { 24 } + Constant [ integer Sodium\CRYPTO_STREAM_KEYBYTES ] { 32 } + } - - 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 ] - } - } + - Functions { + Function [ <internal:libsodium> function Sodium\crypto_aead_chacha20poly1305_decrypt ] { - Method [ <internal:libsodium> static public method crypto_sign ] { + - Parameters [4] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $ad ] + Parameter #2 [ <required> $nonce ] + Parameter #3 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_aead_chacha20poly1305_encrypt ] { - - Parameters [2] { - Parameter #0 [ <required> $string ] - Parameter #1 [ <required> $key ] - } - } + - Parameters [4] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $ad ] + Parameter #2 [ <required> $nonce ] + Parameter #3 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box ] { - Method [ <internal:libsodium> static public method crypto_sign_detached ] { + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_keypair ] { - - Parameters [2] { - Parameter #0 [ <required> $string ] - Parameter #1 [ <required> $key ] - } - } + - Parameters [0] { + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_keypair_from_secretkey_and_publickey ] { - Method [ <internal:libsodium> static public method crypto_sign_keypair ] { + - Parameters [2] { + Parameter #0 [ <required> $secret_key ] + Parameter #1 [ <required> $public_key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_open ] { - - Parameters [0] { - } - } + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_publickey ] { - Method [ <internal:libsodium> static public method crypto_sign_keypair_from_secretkey_and_publickey ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_publickey_from_secretkey ] { - - Parameters [2] { - Parameter #0 [ <required> $secret_key ] - Parameter #1 [ <required> $public_key ] - } - } + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_seal ] { - Method [ <internal:libsodium> static public method crypto_sign_open ] { + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_seal_open ] { - - Parameters [2] { - Parameter #0 [ <required> $string ] - Parameter #1 [ <required> $key ] - } - } + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_box_secretkey ] { - Method [ <internal:libsodium> static public method crypto_sign_publickey ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_kx ] { - - Parameters [1] { - Parameter #0 [ <required> $key ] - } - } + - Parameters [4] { + Parameter #0 [ <required> $string_1 ] + Parameter #1 [ <required> $string_2 ] + Parameter #2 [ <required> $string_3 ] + Parameter #3 [ <optional> $string_4 ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_generichash ] { - Method [ <internal:libsodium> static public method crypto_sign_secretkey ] { + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <optional> $key ] + Parameter #2 [ <optional> $length ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_generichash_init ] { - - Parameters [1] { - Parameter #0 [ <required> $key ] - } - } + - Parameters [2] { + Parameter #0 [ <optional> $key ] + Parameter #1 [ <optional> $length ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_generichash_update ] { - Method [ <internal:libsodium> static public method crypto_sign_seed_keypair ] { + - Parameters [2] { + Parameter #0 [ <required> &$state ] + Parameter #1 [ <required> $string ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_generichash_final ] { - - Parameters [1] { - Parameter #0 [ <required> $key ] - } - } + - Parameters [2] { + Parameter #0 [ <required> &$state ] + Parameter #1 [ <optional> $length ] + } + } + Function [ <internal:libsodium> function Sodium\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 ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_pwhash_scryptsalsa208sha256_str ] { - Method [ <internal:libsodium> static public method crypto_sign_verify_detached ] { + - Parameters [3] { + Parameter #0 [ <required> $password ] + Parameter #1 [ <required> $opslimit ] + Parameter #2 [ <required> $memlimit ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_pwhash_scryptsalsa208sha256_str_verify ] { - - Parameters [3] { - Parameter #0 [ <required> $signature ] - Parameter #1 [ <required> $string ] - Parameter #2 [ <required> $key ] - } - } + - Parameters [2] { + Parameter #0 [ <required> $hash ] + Parameter #1 [ <required> $password ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_scalarmult ] { - Method [ <internal:libsodium> static public method crypto_stream ] { + - Parameters [2] { + Parameter #0 [ <required> $string_1 ] + Parameter #1 [ <required> $string_2 ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_secretbox ] { - - Parameters [3] { - Parameter #0 [ <required> $length ] - Parameter #1 [ <required> $nonce ] - Parameter #2 [ <required> $key ] - } - } + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_secretbox_open ] { - Method [ <internal:libsodium> static public method crypto_stream_xor ] { + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_shorthash ] { - - Parameters [3] { - Parameter #0 [ <required> $string ] - Parameter #1 [ <required> $nonce ] - Parameter #2 [ <required> $key ] - } - } + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign ] { - Method [ <internal:libsodium> static public method randombytes_buf ] { + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $keypair ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_detached ] { - - Parameters [1] { - Parameter #0 [ <required> $length ] - } - } + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $keypair ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_keypair ] { - Method [ <internal:libsodium> static public method randombytes_random16 ] { + - Parameters [0] { + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_keypair_from_secretkey_and_publickey ] { - - Parameters [0] { - } - } + - Parameters [2] { + Parameter #0 [ <required> $secret_key ] + Parameter #1 [ <required> $public_key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_open ] { - Method [ <internal:libsodium> static public method randombytes_uniform ] { + - Parameters [2] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $keypair ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_publickey ] { - - Parameters [1] { - Parameter #0 [ <required> $integer ] - } - } + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_secretkey ] { - Method [ <internal:libsodium> static public method sodium_bin2hex ] { + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_seed_keypair ] { - - Parameters [1] { - Parameter #0 [ <required> $string ] - } - } + - Parameters [1] { + Parameter #0 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_sign_verify_detached ] { - Method [ <internal:libsodium> static public method sodium_hex2bin ] { + - Parameters [3] { + Parameter #0 [ <required> $signature ] + Parameter #1 [ <required> $string ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_stream ] { - - Parameters [2] { - Parameter #0 [ <required> $string_1 ] - Parameter #1 [ <required> $string_2 ] - } - } + - Parameters [3] { + Parameter #0 [ <required> $length ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\crypto_stream_xor ] { - Method [ <internal:libsodium> static public method sodium_library_version_major ] { + - Parameters [3] { + Parameter #0 [ <required> $string ] + Parameter #1 [ <required> $nonce ] + Parameter #2 [ <required> $key ] + } + } + Function [ <internal:libsodium> function Sodium\randombytes_buf ] { - - Parameters [0] { - } - } + - Parameters [1] { + Parameter #0 [ <required> $length ] + } + } + Function [ <internal:libsodium> function Sodium\randombytes_random16 ] { - Method [ <internal:libsodium> static public method sodium_library_version_minor ] { + - Parameters [0] { + } + } + Function [ <internal:libsodium> function Sodium\randombytes_uniform ] { - - Parameters [0] { - } - } + - Parameters [1] { + Parameter #0 [ <required> $integer ] + } + } + Function [ <internal:libsodium> function Sodium\bin2hex ] { - Method [ <internal:libsodium> static public method sodium_memcmp ] { + - Parameters [1] { + Parameter #0 [ <required> $string ] + } + } + Function [ <internal:libsodium> function Sodium\hex2bin ] { - - Parameters [2] { - Parameter #0 [ <required> $string_1 ] - Parameter #1 [ <required> $string_2 ] - } - } + - Parameters [2] { + Parameter #0 [ <required> $string_1 ] + Parameter #1 [ <required> $string_2 ] + } + } + Function [ <internal:libsodium> function Sodium\library_version_major ] { - Method [ <internal:libsodium> static public method sodium_memzero ] { + - Parameters [0] { + } + } + Function [ <internal:libsodium> function Sodium\library_version_minor ] { - - Parameters [2] { - Parameter #0 [ <required> &$reference ] - Parameter #1 [ <required> $length ] - } - } + - Parameters [0] { + } + } + Function [ <internal:libsodium> function Sodium\memcmp ] { - Method [ <internal:libsodium> static public method sodium_version_string ] { + - Parameters [2] { + Parameter #0 [ <required> $string_1 ] + Parameter #1 [ <required> $string_2 ] + } + } + Function [ <internal:libsodium> function Sodium\memzero ] { - - Parameters [0] { - } - } + - Parameters [2] { + Parameter #0 [ <required> &$reference ] + Parameter #1 [ <required> $length ] } + } + Function [ <internal:libsodium> function Sodium\version_string ] { - - Properties [0] { + - Parameters [0] { } + } + Function [ <internal:libsodium> function Sodium\crypto_scalarmult_base ] { - - Methods [0] { + - Parameters [2] { + Parameter #0 [ <required> $string_1 ] + Parameter #1 [ <required> $string_2 ] } } } |