SEXP-CONV(1)

πŸ’– SEXP-CONV πŸ’–

okay bestie, welcome to the Nettle tools corner of the manual universe, where the page is literally called SEXP-CONV(1) but the whole vibe is about one lil' command: nettle-hash. yes the naming is chaotic, we don't make the rules, we just read them ✨


🌸 NAME 🌸

nettle-hash β€” compute message digests, fr fr


πŸ¦‹ SYNOPSIS πŸ¦‹

nettle-hash -a ALGORITHM [OPTIONS] [FILE]...

πŸŽ€ DESCRIPTION πŸŽ€

So this manual page is doing the absolute most by documenting the nettle-hash command briefly β€” and by "briefly" we mean this page exists because the Debian GNU/Linux distribution needed it, since the original program straight up does not have a manual page. 😭 Not a vibe. Instead, it keeps its documentation in the GNU Info format. See below, bestie. πŸ‘‡

nettle-hash is a program that computes various message digests. The output is different from the familiar md5sum and sha*sum family, so don't come in here expecting that exact energy. πŸ’…

Here's the tea on how it prints stuff:

  • For each file, the file name and a colon is printed first ☝️
  • Unless input is read from standard input β€” in which case nothing is printed at all. nothing. silence. πŸ«₯
  • Then the hash is printed in chunks of 64 bits (16 hexadecimal digits) followed by the name of the algorithm. πŸ”₯

And in raw (binary) mode? The hash is not split in chunks and is not followed by a newline. It's giving unhinged binary chaos and honestly? iconic. πŸ’€


✨ OPTIONS ✨

This program follows the usual GNU command line syntax, with long options starting with two dashes (`-`). A summary of options is included below β€” for a complete description, see the Info files, bestie. πŸ“š

  • -a, --algorithm=algorithm β€” compute hash using algorithm. pick your fighter. πŸ‘‘
  • -l, --length=length β€” truncate digests at length octets. 🎯 Heads up though: it is an error to specify a length greater than the normal length of the selected digest. Don't do it, it's not the move.
  • --raw β€” produce raw binary output. feral. unformatted. no newline. 😳
  • --list β€” list supported hash algorithms. window shopping the algorithms, we love to see it πŸ›οΈ
  • --help β€” show summary of options. your lil' rescue bestie when you forget everything πŸ™ˆ
  • -V, --version β€” show version of program. who are you, where did you come from πŸ’œ

🌈 SEE ALSO 🌈

md5sum(1), sha1sum(1), etc. β€” the whole friend group, go say hi πŸ’–


🧚 AUTHOR 🧚

This manual page was originally written by Magnus Holmgren <holmgren@debian.org>, for the Debian GNU/Linux system (but may be used by others). absolute legend behaviour, no cap. πŸ‘‘


okay that's the whole page, bestie!! periodt πŸ’…βœ¨

nettle 2.2 Β· July 2011 β€” yes she's an elder but she still slays πŸ«ΆπŸŽ€