shishi_md4(3)

πŸ“¦
version 1.0.3 Β· 2 versions
  • 1.0.3 Β· debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 1.0.2 Β· ubuntu jammy
, in debian bookworm, debian trixie, nixos 26.05, nixpkgs unstable, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

πŸ’– shishi_md4(3) β€” the MD4 hashing girlie πŸ’–

okay bestie, pull up a chair, because this one is a lil function from the shishi manual (section 3, the library-calls section, iykyk) and she is so cute. her whole job? hashing ur data with MD4. that's it. that's the vibe. ✨


✨ NAME ✨

shishi_md4 β€” an API function, no cap 🫢


🌈 SYNOPSIS 🌈

#include <shishi.h>

int shishi_md4(Shishi * handle, const char * in, size_t inlen, char *
out[16]);

like. look at her. five arguments and a dream πŸ’…


πŸŽ€ ARGUMENTS πŸŽ€

  • Shishi * handle β€” ur shishi handle, the one u got handed back when u called shishi_init(). she's the main character here fr.
  • const char * in β€” the input character array, aka the data u wanna hash. drop it in, bestie.
  • size_t inlen β€” how long that input character array is. yes u have to tell her. she's not psychic 😭
  • char * out[16] β€” a newly allocated character array that she fills up with the hash of ur data. she makes it, she hands it over, it's yours now πŸ‘‘

πŸ’œ DESCRIPTION πŸ’œ

she computes the hash of ur data using MD4. that's the whole thing. iconic behavior honestly.

⚠️ heads up bestie: the out buffer must be deallocated by the caller. that means you, not her. she allocated it for u, but the cleanup is on u. no ghosting that buffer, ok?? 🫢

⭐ RETURN VALUE ⭐

returns SHISHI_OK iff it was successful. that's the green flag. the "we ate" signal. πŸ“


πŸ› REPORTING BUGS πŸ›

found a bug? don't suffer in silence, tell the devs!! report bugs to <bug-shishi@gnu.org>. πŸ’Œ


Copyright Β© 2002-2022 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. (translation: go off, just keep the receipts πŸ’–)


🌸 SEE ALSO 🌸

the full documentation for shishi is maintained as a Texinfo manual. if the info and shishi programs are properly installed at ur site, this command:

info shishi

should give u access to the complete manual. she's got lore. go read it. πŸ“šβœ¨


and that's the whole page bestie!! this was shishi version 1.0.3, page shishi_md4(3). mwah, stay hashing, stay hydrated, and always deallocate ur buffers πŸ’…πŸ¦‹πŸ§š