9 || (SODIUM_LIBRARY_VERSION_MAJOR == 9 && SODIUM_LIBRARY_VERSION_MINOR >= 6) function sodium_crypto_pwhash_str_needs_rehash(string $password, int $opslimit, int $memlimit): bool {} #endif #ifdef crypto_pwhash_scryptsalsa208sha256_SALTBYTES function sodium_crypto_pwhash_scryptsalsa208sha256(int $length, string $password, string $salt, int $opslimit, int $memlimit): string {} function sodium_crypto_pwhash_scryptsalsa208sha256_str(string $password, int $opslimit, int $memlimit): string {} function sodium_crypto_pwhash_scryptsalsa208sha256_str_verify(string $hash, string $password): bool {} #endif function sodium_crypto_scalarmult(string $n, string $p): string {} function sodium_crypto_secretbox(string $message, string $nonce, string $key): string {} function sodium_crypto_secretbox_keygen(): string {} function sodium_crypto_secretbox_open(string $ciphertext, string $nonce, string $key): string|false {} #ifdef crypto_secretstream_xchacha20poly1305_ABYTES function sodium_crypto_secretstream_xchacha20poly1305_keygen(): string {} function sodium_crypto_secretstream_xchacha20poly1305_init_push(string $key): array {} function sodium_crypto_secretstream_xchacha20poly1305_push(string &$state, string $message, string $additional_data = "", int $tag = SODIUM_CRYPTO_SECRETSTREAM_XCHACHA20POLY1305_TAG_MESSAGE): string {} function sodium_crypto_secretstream_xchacha20poly1305_init_pull(string $header, string $key): string {} function sodium_crypto_secretstream_xchacha20poly1305_pull(string &$state, string $ciphertext, string $additional_data = ""): array|false {} function sodium_crypto_secretstream_xchacha20poly1305_rekey(string &$state): void {} #endif function sodium_crypto_shorthash(string $message, string $key): string {} function sodium_crypto_shorthash_keygen(): string {} function sodium_crypto_sign(string $message, string $secret_key): string {} function sodium_crypto_sign_detached(string $message, string $secret_key): string {} function sodium_crypto_sign_ed25519_pk_to_curve25519(string $public_key): string {} function sodium_crypto_sign_ed25519_sk_to_curve25519(string $secret_key): string {} function sodium_crypto_sign_keypair(): string {} function sodium_crypto_sign_keypair_from_secretkey_and_publickey(string $secret_key, string $public_key): string {} function sodium_crypto_sign_open(string $ciphertext, string $public_key): string|false {} function sodium_crypto_sign_publickey(string $key_pair): string {} function sodium_crypto_sign_secretkey(string $key_pair): string {} function sodium_crypto_sign_publickey_from_secretkey(string $secret_key): string {} function sodium_crypto_sign_seed_keypair(string $seed): string {} function sodium_crypto_sign_verify_detached(string $signature, string $message, string $public_key): bool {} function sodium_crypto_stream(int $length, string $nonce, string $key): string {} function sodium_crypto_stream_keygen(): string {} function sodium_crypto_stream_xor(string $message, string $nonce, string $key): string {} function sodium_add(string &$string1, string $string2): void {} function sodium_compare(string $string1, string $string2): int {} function sodium_increment(string &$string): void {} function sodium_memcmp(string $string1, string $string2): int {} function sodium_memzero(string &$string): void {} function sodium_pad(string $string, int $length): string {} function sodium_unpad(string $string, int $block_size): string {} function sodium_bin2hex(string $string): string {} function sodium_hex2bin(string $string, string $ignore = ""): string {} #ifdef sodium_base64_VARIANT_ORIGINAL function sodium_bin2base64(string $string, int $id): string {} function sodium_base642bin(string $string, int $id, string $ignore = ""): string {} #endif /** @alias sodium_crypto_box_publickey_from_secretkey */ function sodium_crypto_scalarmult_base(string $secret_key): string {} class SodiumException extends Exception {}