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

Name

Description

data

memory region to digest

length

number of bytes in data

Created with MrDocs