[#EVP_Q_digest] = EVP_Q_digest :mrdocs: One‐shot digest of `data` using a fetched algorithm name. == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_Q_digest( xref:OSSL_LIB_CTX.adoc[OSSL_LIB_CTX]* libctx, char const* name, char const* propq, void const* data, size_t datalen, unsigned char* md, size_t* mdlen); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *libctx* | Library context for the fetch, or NULL for the default. | *name* | Digest algorithm name (for example "SHA256"). | *propq* | Property query for the fetch, or NULL. | *data* | Bytes to hash. | *datalen* | Number of bytes at `data.` | *md* | Output buffer for the digest (at least the algorithm size). | *mdlen* | Optional in/out length of `md;` updated to the digest size. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#