gsasl_hash_length(3)

✨ NAME ✨

okay bestie, quick vibe check πŸ’… β€” this is gsasl_hash_length, which is literally just an API function from the gsasl manual (that's the manual name, mwah 😘). that's the whole name section. slay.


🌸 SYNOPSIS 🌸

#include <gsasl.h>

size_t gsasl_hash_length(Gsasl_hash hash);

πŸŽ€ ARGUMENTS πŸŽ€

  • Gsasl_hash hash β€” lowkey just a Gsasl_hash element, bestie. like, for example? GSASL_HASH_SHA256. that kind of thing. no cap. ✨

πŸ’– DESCRIPTION πŸ’–

okay so here's the tea πŸ“: this function returns the digest output size for the hash function you hand it β€” that's the hash argument, bestie. so like... it's giving "how many bytes is this hash gonna spit out".

for example (and this is the iconic part): gsasl_hash_length(GSASL_HASH_SHA256) returns GSASL_HASH_SHA256_SIZE, which is 32. thirty-two!! the way that math is mathing πŸ”₯


πŸ¦‹ RETURNS πŸ¦‹

the size of the Gsasl_hash element you supplied. that's it, that's the whole return. main character energy honestly πŸ‘‘


⭐ SINCE ⭐

1.10 β€” she's been around since 1.10, an OG fr fr 🫢


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? not me being the bearer of bad news but you gotta tell somebody 😭 send it to:

  • <bug-gsasl@gnu.org>

and if you're like "how do i even report a bug tho", the general guidelines live at:

also, the GNU SASL home page is right here:


Copyright Β© 2002-2026 Simon Josefsson.

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 copy it β€” just keep the notice and this notice. periodt. πŸ’…)


🌈 SEE ALSO 🌈

so the full documentation for gsasl is maintained as a Texinfo manual πŸ“š if the info and gsasl programs are properly installed at your site, this command:

info gsasl

should give you access to the complete manual. as an alternative you may obtain the manual from:

https://www.gnu.org/software/libidn/gsasl/manual/

go forth and read, iykyk 🧚


and that's the whole page, bestie!! πŸ’œ it's from gsasl, version 2.2.4, and it's the gsasl_hash_length(3) page β€” ily, go be the main character of your terminal πŸŽ€βœ¨

πŸ“¦ where this page comes from