[#EVP_RAND_nonce] = EVP_RAND_nonce :mrdocs: Generate a nonce of `outlen` bytes from RAND context `ctx.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_RAND_nonce( xref:EVP_RAND_CTX.adoc[EVP_RAND_CTX]* ctx, unsigned char* out, size_t outlen); ---- == Return Value 1 on success, or 0 on error. == Parameters [cols="1,4"] |=== | Name| Description | *ctx* | Instantiated RAND context. | *out* | Buffer receiving the nonce. | *outlen* | Number of nonce bytes to produce. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#