[#BloombergLP-bdlde-Sha1-2constructor-01] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Sha1.adoc[Sha1]::Sha1 :relfileprefix: ../../../ :mrdocs: Construct a SHA‐1 digest corresponding to the specified `data` having the specified `length` (in bytes). Note that if `data` is null, then `length` must be 0. == Synopsis Declared in `<bdlde_sha1.h>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- Sha1( void const* data, std::size_t length); ---- [.small]#Created with https://www.mrdocs.com[MrDocs]#