gnutls_hash_deinit(3)

πŸ’– gnutls_hash_deinit(3) β€” the gnutls manual, bestie edition πŸ’–

okay so real talk, this one is a lil page from the gnutls manual and it's literally just about cleaning up after yourself. very demure. very mindful. let's go πŸŽ€


✨ NAME ✨

gnutls_hash_deinit β€” it's an API function, bestie. that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

#include <gnutls/crypto.h>

void gnutls_hash_deinit(gnutls_hash_hd_t handle, void * digest);

look at her. two args. no return value. she just does the thing πŸ’…


🫢 ARGUMENTS 🫢

  • gnutls_hash_hd_t handle β€” this is a gnutls_hash_hd_t type. yeah that's the description, that's what the original says, don't come for me 😭 it's a handle, it's typed, it's giving exactly what it says on the tin.
  • void * digest β€” this one is the output value of the hash πŸ“ like, the actual digest bytes you've been cooking up.

🧚 DESCRIPTION 🧚

so here's the tea: this function will deinitialize all resources occupied by the given hash context. that's it. that's the whole job. it frees everything the hash context was hogging, no cap. main character energy but make it a cleanup crew 🌈

when you're done hashing, you call this. you hand over the handle and the digest, and she lets all that context go. so satisfying honestly ✨

not me getting emotional over a deinit function 😭

⭐ SINCE ⭐

2.10.0 β€” she's been iconic since way back, periodt πŸ‘‘


πŸ’€ REPORTING BUGS πŸ’€

found a bug? don't suffer in silence, tell the people:


Copyright Β© 2001-2023 Free Software Foundation, Inc., and others.

Copying and distribution of this file, with or without modification, are permitted in any medium without royalty provided the copyright notice and this notice are preserved.

like, go off, remix it, just keep the receipts πŸ’–


🌈 SEE ALSO 🌈

The full documentation for gnutls is maintained as a Texinfo manual. If the /usr/share/doc/gnutls/ directory does not contain the HTML form, visit

https://www.gnutls.org/manual/

the full lore is right there, iykyk πŸ“šβœ¨


and that's the page, bestie 🫢 this was gnutls_hash_deinit(3) from the gnutls manual, version 3.8.13 β€” mwah, slay, go free your hash contexts responsibly πŸ’…πŸŽ€πŸ¦‹

πŸ“¦ where this page comes from