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 agnutls_hash_hd_ttype, 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:
- Report bugs to <bugs@gnutls.org>.
- Home page: https://www.gnutls.org
π COPYRIGHT π
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
- alpine 3.22: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.23: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- alpine 3.24: gnutls-doc 3.8.13-r0 Β· LGPL-2.1-or-later
- arch rolling: gnutls 3.8.13-3 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 43: gnutls-devel 3.8.13-1.fc43 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- fedora 44: gnutls-devel 3.8.13-1.fc44 Β· GPL-3.0-or-later AND LGPL-2.1-or-later
- ubuntu stonking: gnutls-doc 3.8.13-1ubuntu1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms