BSON_MD5_FINISH(3)
π BSON_MD5_FINISH(3) β the libbson one, bestie
okay so like. this is bson_md5_finish from libbson, section 3 of the manual. it's a whole vibe. let's get into it π«Ά
π¨ DEPRECATED π¨
All MD5 APIs are deprecated in libbson.
not "deprecated-ish", not "deprecated but fine actually" β all of them. every single MD5 API. the whole squad. π
β¨ SYNOPSIS β¨
void
bson_md5_finish (bson_md5_t *pms, uint8_t digest[16]) BSON_GNUC_DEPRECATED;
note the BSON_GNUC_DEPRECATED hanging off the end like a little warning label. it's literally telling on itself. the function returns void, so like, no return value, no drama, just vibes.
π PARAMETERS π
pmsβ Abson_md5_t. that's the state object you've been carrying around this whole time, bestie. it's giving main character energy.digestβ A location for the digest. you hand it somewhere to put the goods, and it puts the goods there.uint8_t digest[16], so 16 bytes of room. don't skimp on the room. π
πΈ DESCRIPTION πΈ
Completes the MD5 algorithm and stores the digest in digest.
that's it. that's the whole thing. it finishes the MD5, drops the digest where you told it to, and dips. π¦
This function is deprecated and should not be used in new code. fr fr. if you're writing something new, this is not the one. periodt.
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2017-present, MongoDB, Inc
okay that's the whole page, you ate that, no cap β¨ and just so you know this was libbson version 1.23.1, dated Apr 27, 2026 β BSON_MD5_FINISH(3), out. bye bestie, hydrate, and don't use deprecated MD5 in new code ππ
π¦ where this page comes from
- debian bookworm: libbson-doc 1.23.1-1+deb12u3 Β· Apache-2.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms