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:


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