[#BloombergLP-bdlde-Sha256-2constructor-00]
= xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Sha256.adoc[Sha256]::Sha256
:relfileprefix: ../../../
:mrdocs:

Constructors

== Synopses

Declared in `&lt;bdlde&lowbar;sha2&period;h&gt;`

Construct a SHA&hyphen;2 digest having the value corresponding to no data having been provided&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlde/Sha256/2constructor-07.adoc[Sha256]();
----

[.small]#xref:BloombergLP/bdlde/Sha256/2constructor-07.adoc[_» more&period;&period;&period;_]#

Construct a SHA&hyphen;2 digest corresponding to the specified `data` having the specified `length` (in bytes)&period; Note that if `data` is 0, then `length` also must be 0&period;


[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BloombergLP/bdlde/Sha256/2constructor-03.adoc[Sha256](
    void const* data,
    std::size&lowbar;t length);
----

[.small]#xref:BloombergLP/bdlde/Sha256/2constructor-03.adoc[_» more&period;&period;&period;_]#


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