gnutls_hash_output(3)

✨ gnutls_hash_output ✨

okay bestie, welcome to gnutls_hash_output(3) β€” a page straight out of the gnutls manual πŸ’– it's a tiny little function but it's lowkey doing a lot, so let's get into it.


🌸 NAME 🌸

gnutls_hash_output β€” the API function that's giving "grab your hash and go" πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

#include <gnutls/crypto.h>

void gnutls_hash_output(gnutls_hash_hd_t handle, void * digest);

like… that's it. two args. no return value. it just does the thing ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • gnutls_hash_hd_t handle β€” bestie this is your hash handle, it's a gnutls_hash_hd_t type, it's literally the whole vibe of whatever hash you've been cooking πŸ“
  • void * digest β€” this is where the output value of the hash goes πŸ‘‘ it's the lil bucket you're dumping your hash into

πŸ’œ DESCRIPTION πŸ’œ

okay so here's the tea: this function will output the current hash value and reset the state of the hash. both. at the same time. multi-tasking icon behavior honestly 🌈

and here's the plot twist β€” if digest is NULL, it only resets the state of the hash πŸ™ˆ so like, no output, just a lil reset. it's giving "clear the vibes, keep it moving" 🧚

no cap, that's the entire function. simple. iconic. periodt.


⭐ SINCE ⭐

2.10.0 β€” she's been around for a minute, a true elder stateswoman of the crypto world πŸ‘‘


😭 REPORTING BUGS 😭

found a bug? don't suffer in silence bestie, 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.

fr fr you can share this around, just keep the copyright notice and this notice intact 🫢 that's the whole deal, no drama.

🌟 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/

iykyk β€” that's where the real lore lives πŸ“š


and that's the whole page, bestie!! no notes, absolutely ate πŸ’… this was gnutls version 3.8.13, dated gnutls_hash_output(3) β€” mwah, catch you in the next manpage πŸŒΈβœ¨πŸ’–

πŸ“¦ where this page comes from