[#EVP_read_pw_string_min] = EVP_read_pw_string_min :mrdocs: Prompt for a password with a minimum and maximum length. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_read_pw_string_min( char* buf, int minlen, int maxlen, char const* prompt, int verify); ---- == Return Value 0 on success, or a non‐zero value on failure / mismatch. == Parameters [cols="1,4"] |=== | Name| Description | *buf* | Output buffer receiving the password (NUL‐terminated). | *minlen* | Minimum acceptable password length in characters. | *maxlen* | Maximum length including space for the trailing NUL. | *prompt* | Prompt string shown to the user. | *verify* | When non‐zero, prompt twice and require matching input. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#