[#BloombergLP-bdlde-Sha384-2constructor-03] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Sha384.adoc[Sha384]::Sha384 :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlde_sha2.h>` Construct a SHA‐2 digest having the value corresponding to no data having been provided. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlde/Sha384/2constructor-08.adoc[Sha384](); ---- [.small]#xref:BloombergLP/bdlde/Sha384/2constructor-08.adoc[_» more..._]# Construct a SHA‐2 digest corresponding to the specified `data` having the specified `length` (in bytes). Note that if `data` is 0, then `length` also must be 0. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlde/Sha384/2constructor-02.adoc[Sha384]( void const* data, std::size_t length); ---- [.small]#xref:BloombergLP/bdlde/Sha384/2constructor-02.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#