---
name: "bson_md5_finish"
section: "3"
platform: "linux"
package: "libbson-doc"
version: "1.23.1-1+deb12u3"
release: "Debian 12 (Bookworm)"
platforms: ["linux"]
url: "https://new.carta.tech/bson_md5_finish"
---

# bson\_md5\_finish(3)

bson\_md5\_finish()

## NAME

bson\_md5\_finish - 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.

## AUTHOR

MongoDB, Inc

## COPYRIGHT

2017-present, MongoDB, Inc
