BloombergLP::bdlde::Sha256::Sha256

Constructors

Synopses

Declared in <bdlde_sha2.h>

Construct a SHA-2 digest having the value corresponding to no data having been provided.

Sha256();
» 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.

Sha256(
    void const* data,
    std::size_t length);
» more...