[#BloombergLP-bdlde-Sha512-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Sha512.adoc[Sha512]::Sha512 :relfileprefix: ../../../ :mrdocs: 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. == Synopsis Declared in `<bdlde_sha2.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Sha512( void const* data, std::size_t length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#