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.
Declared in <bdlde_sha1.h>
Sha1(
void const* data,
std::size_t length);
| Name | Description |
|---|---|
| data | memory region to hash |
| length | number of bytes in data |