[#BloombergLP-bdlde-Sha1-2constructor-05] = xref:BloombergLP.adoc[BloombergLP]::xref:BloombergLP/bdlde.adoc[bdlde]::xref:BloombergLP/bdlde/Sha1.adoc[Sha1]::Sha1 :relfileprefix: ../../../ :mrdocs: Constructors == Synopses Declared in `<bdlde_sha1.h>` Construct a SHA‐1 digest having the value corresponding to no data having been provided. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlde/Sha1/2constructor-0c.adoc[Sha1](); ---- [.small]#xref:BloombergLP/bdlde/Sha1/2constructor-0c.adoc[_» more..._]# 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. [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- xref:BloombergLP/bdlde/Sha1/2constructor-01.adoc[Sha1]( void const* data, std::size_t length); ---- [.small]#xref:BloombergLP/bdlde/Sha1/2constructor-01.adoc[_» more..._]# [.small]#Created with https://www.mrdocs.com[MrDocs]#