# bson_md5_finish()

## Deprecated

All MD5 APIs are deprecated in libbson.

## Synopsis

    void
    bson_md5_finish (bson_md5_t *pms, uint8_t digest[16]) BSON_GNUC_DEPRECATED;

## Parameters

- `pms`: A bson_md5_t.
- `digest`: A location for the digest.

## Description

Completes the MD5 algorithm and stores the digest in `digest`.

This function is deprecated and should not be used in new code.