[#EVP_Digest] = EVP_Digest :mrdocs: Hash `count` bytes at `data` in one shot and write the digest to `md.` == Synopsis Declared in `<openssl/evp.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- int EVP_Digest( void const* data, size_t count, unsigned char* md, unsigned int* size, xref:EVP_MD.adoc[EVP_MD] const* type, xref:ENGINE.adoc[ENGINE]* impl); ---- == Return Value 1 on success, or 0 on failure. == Parameters [cols="1,4"] |=== | Name| Description | *data* | Input bytes to hash. | *count* | Number of bytes at `data.` | *md* | Output buffer for the digest; at most EVP_MAX_MD_SIZE bytes are written. | *size* | Optional destination for the digest length in bytes, or NULL. | *type* | Digest algorithm to use. | *impl* | Optional ENGINE providing `type,` or NULL for the default implementation. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#