[#SRP_create_verifier] = SRP_create_verifier :mrdocs: Create base64‐encoded SRP salt and verifier strings (default library context; deprecated). == Synopsis Declared in `<openssl/srp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- [[deprecated]] char* SRP_create_verifier( char const* user, char const* pass, char** salt, char** verifier, char const* N, char const* g); ---- [WARNING] ==== https://en.cppreference.com/cpp/language/attributes/deprecated[Deprecated^]. Use of this entity is allowed but discouraged. ==== == Return Value "*" if `N` was supplied, the selected group id otherwise; do not free. NULL on error. == Parameters [cols="1,4"] |=== | Name| Description | *user* | User name. | *pass* | Password. | *salt* | Address of salt pointer: receives a newly allocated base64 salt when *`salt` is NULL, or uses the supplied value. | *verifier* | Receives a newly allocated base64 verifier string. | *N* | Base64‐encoded safe prime, or NULL to select a default group via `g.` | *g* | Base64‐encoded generator when `N` is set, or a default group id such as "2048" when `N` is NULL. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#