SysTutorials

Linux Manual Pages › Section 3

bson_md5_t(3)

NAME

bson_md5_t - BSON MD5 Abstraction

SYNOPSIS


typedef struct
{
    uint32_t count[2]; /* message length in bits, lsw first */
    uint32_t abcd[4];  /* digest buffer */
    uint8_t buf[64];   /* accumulate block */
} bson_md5_t;

DESCRIPTION

bson_md5_t encapsulates an implementation of the MD5 algorithm. This is used in OID generation for the MD5(hostname) bytes. It is also used by some libraries such as the MongoDB C driver.

COLOPHON

This page is part of libbson. Please report any bugs at https://jira.mongodb.org/browse/CDRIVER.

Index