[#SHA256AutoDetect]
= SHA256AutoDetect
:mrdocs:

Autodetect the best available SHA256 implementation&period; Returns the name of the implementation&period;

== Synopsis

Declared in `&lt;crypto&sol;sha256&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
std::string
SHA256AutoDetect(xref:sha256_implementation/UseImplementation.adoc[sha256&lowbar;implementation::UseImplementation] use&lowbar;implementation = sha256&lowbar;implementation&colon;&colon;USE&lowbar;ALL);
----

== Return Value

The name of the chosen implementation&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *use&lowbar;implementation*
| Bit flags limiting which accelerated implementations may be selected&period;
|===


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