shishi_checksum_parse(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_checksum_parse β€” from the shishi manual, section 3 πŸ’–

okay bestie, gather round, because today we're meeting shishi_checksum_parse β€” yes she's an API function, yes she's iconic, yes she's about to make your string-to-checksum-type pipeline slay πŸ’…


✨ NAME ✨

shishi_checksum_parse β€” it's an API function, periodt. that's the whole job title. short, sweet, main character energy πŸ‘‘


🌸 SYNOPSIS 🌸

so here's the vibe check, the way you actually summon her:

#include <shishi.h>

int shishi_checksum_parse(const char * checksum);

like. that's it. that's the whole incantation. no cap ✨


πŸŽ€ ARGUMENTS πŸŽ€

  • const char * checksum β€” this is the name of the checksum type, bestie. and not just any name, a string name. the manpage's own example is literally "hmac-sha1-96-aes256", so that's the flavor of thing you're passing in here. a lil string that describes a checksum. she reads it. she gets it. πŸ¦‹

πŸ’« DESCRIPTION πŸ’«

okay so the whole point: you hand her a string, and she gets the checksum number by parsing that string. that's the tea. string goes in, checksum number comes out. it's giving "translator for checksum names" and honestly? obsessed. 😭


🌈 RETURN VALUE 🌈

she returns the checksum type β€” and the docs point you at Shishi_cksumtype for the full picture β€” corresponding to that string you gave her. so like, the return value is the answer to "which checksum is this string talking about". πŸ’–


πŸ™ˆ REPORTING BUGS πŸ™ˆ

found a bug? don't just suffer in silence, bestie, report it:

they wanna hear from you, fr fr 🫢


Copyright Β© 2002-2022 Simon Josefsson.

and here's the legal bit, word for word, no edits: 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. so like. keep the receipt. keep the notice. that's the deal. πŸ’œ


πŸ”₯ SEE ALSO πŸ”₯

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

info shishi

should give you access to the complete manual. iykyk πŸ“–βœ¨


not me being emotionally attached to a checksum parser but here we are πŸ₯Ή

and that's the whole page, bestie β€” from the shishi manual, version 1.0.3, and we out. slay, stay parsing, and remember: every string deserves to know its checksum type πŸ’…πŸ’–πŸŽ€