| Server IP : 185.216.8.13 / Your IP : 216.73.216.187 Web Server : Apache System : Linux webhost-vie2.sitetide.com 4.18.0-553.156.1.el8_10.x86_64 #1 SMP Mon Aug 17 17:52:57 UTC 2026 x86_64 User : medicalkn ( 9986) PHP Version : 8.2.33 Disable Function : syslog MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/pgsql-17/include/server/libpq/ |
Upload File : |
/*------------------------------------------------------------------------- * * scram.h * Interface to libpq/scram.c * * Portions Copyright (c) 1996-2024, PostgreSQL Global Development Group * Portions Copyright (c) 1994, Regents of the University of California * * src/include/libpq/scram.h * *------------------------------------------------------------------------- */ #ifndef PG_SCRAM_H #define PG_SCRAM_H #include "common/cryptohash.h" #include "lib/stringinfo.h" #include "libpq/libpq-be.h" #include "libpq/sasl.h" /* Number of iterations when generating new secrets */ extern PGDLLIMPORT int scram_sha_256_iterations; /* SASL implementation callbacks */ extern PGDLLIMPORT const pg_be_sasl_mech pg_be_scram_mech; /* Routines to handle and check SCRAM-SHA-256 secret */ extern char *pg_be_scram_build_secret(const char *password); extern bool parse_scram_secret(const char *secret, int *iterations, pg_cryptohash_type *hash_type, int *key_length, char **salt, uint8 *stored_key, uint8 *server_key); extern bool scram_verify_plain_password(const char *username, const char *password, const char *secret); #endif /* PG_SCRAM_H */