gnutls_hash_get_len(3)
π gnutls_hash_get_len(3) β the gnutls manual, bestie edition π
okay so this page lives in the gnutls manual, and it's literally just one tiny function that tells you how big a hash is. that's it. that's the whole vibe. π
β¨ NAME β¨
gnutls_hash_get_len β an API function π«Ά
πΈ SYNOPSIS πΈ
#include <gnutls/crypto.h>
unsigned gnutls_hash_get_len(gnutls_digest_algorithm_t algorithm);
like. look at her. so small. so powerful. π
π¦ ARGUMENTS π¦
gnutls_digest_algorithm_t algorithmβ the hash algorithm you wanna use, bestie π
π DESCRIPTION π
so what this function does is it returns the length of the output data of whatever hash algorithm you hand it. that's the whole job. you give it an algorithm, it tells you how many bytes come out the other end. no cap. β¨
β RETURNS β
the length β or zero on error π (yeah, zero is the "something went wrong" signal here, keep that in mind)
π SINCE π
2.10.0 β she's been around a minute, iconic behavior π
π REPORTING BUGS π
found something cursed? tell the devs, they wanna know fr fr:
- 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. (yes bestie you can share 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/
okay that's the whole page, and that's on periodt. this was gnutls, version 3.8.13, and the manual page is gnutls_hash_get_len(3). mwah. π
π«Άπ
π¦ 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