BloombergLP::bdlde::Md5::Md5

Construct an MD5 digest from the specified data.

Synopsis

Declared in <bdlde_md5.h>

Md5(
    void const* data,
    int length);

Description

Construct an MD5 digest corresponding to the specified data having the specified length (in bytes). The behavior is undefined unless 0 <= length. Note that if data is 0, then length also must be 0.

Parameters

NameDescription
datamemory region to digest
lengthnumber of bytes in data