[#EVP_get_digestbyname]
= EVP&lowbar;get&lowbar;digestbyname
:mrdocs:

Look up a message digest algorithm by name (e&period;g&period; &quot;SHA256&quot;)&period;

== Synopsis

Declared in `&lt;openssl&sol;evp&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:EVP_MD.adoc[EVP&lowbar;MD] const*
EVP&lowbar;get&lowbar;digestbyname(char const* name);
----

== Return Value

Matching EVP&lowbar;MD, or NULL if `name` is unknown&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *name*
| Digest name or alias known to OpenSSL&period;
|===


[.small]#Created with https://www.mrdocs.com[MrDocs]#
