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 aGsasl_hashelement, 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 π
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
- arch rolling: gsasl 2.2.4-1 Β· LGPL-2.1-or-later AND GPL-3.0-or-later AND GFDL-1.3-or-later
- ubuntu stonking: libgsasl-dev 2.2.4-1 Β· GPL-3.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms