HMACSUM(1)

πŸ“¦ in opensuse-leap 16.0

πŸ’… hmacsum β€” like, the manual page, but make it make sense

okay so bestie, welcome to hmacsum() from the LOCAL manual πŸŽ€ this is the whole entire page, nothing skipped, nothing rounded off. let's go ✨


🌸 NAME 🌸

hmacsum β€” literally calculates Hash-based Message Authentication Codes (HMACs) of the data in a file. that's it, that's the whole job, and it ate πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

hmacsum [-d digest_type] [-p process_buffer_size] [-hvV] hmac_files

like, that's the shape of it β€” short, iconic, no notes πŸ‘‘


✨ DESCRIPTION ✨

hmacsum is a utility to calculate Hash-based Message Authentication Codes (HMACs) of the data in a file. no cap, that's the entire personality 🫢

hmacsum is part of the libhmac package. libhmac is a library to support various Hash-based Message Authentication Codes (HMAC). it's giving supportive bestie energy fr fr 🌈

source the source file.

okay bestie that last line is just. sitting there. in the original. we do not know why. we are not going to pretend we do 😭 it's in the page, so it's in the page πŸ™ˆ

The options are as follows:

  • -d digest_type β€” calculate digest (hash) types option. the types are md5 (that's the default, in case you were wondering πŸ‘€), sha1, sha256, sha512. and yes bestie, multiple types can be combined with a , β€” go off, stack them πŸ’–
  • -h β€” shows this help. short king behavior honestly 🌸
  • -p process_buffer_size β€” specify the process buffer size. default is 32768 bytes, which is a very specific number and we respect it πŸŽ€
  • -v β€” verbose output to stderr. she's chatty and she's telling you about it ✨
  • -V β€” print version. just the version. no drama. iconic πŸ‘‘

🧚 ENVIRONMENT 🧚

None. literally none. no environment variables, the vibes are self-contained πŸ’œ


πŸ“ FILES πŸ“

None. same deal. nothing to look at here, move along 🌸


πŸ”₯ EXAMPLES πŸ”₯

here's the moment you've been waiting for, the demo, the main character scene ⭐

# hmacsum -d md5,sha1,sha256 file.dat
hmacsum 20140112

MD5 hash calculated over data:          dd05dd0a66337ba6ad12e07779b8f36e
SHA1 hash calculated over data:         55f9b57af542db0ed668eaa647837f106282c244
SHA256 hash calculated over data:       0a794e4172209147eb8ce21fc447591a2cb443dbbb1df71d7bef1a536bf2b552

look at those three hashes. three of them. one command. she's efficient, she's organized, she's the moment πŸ‘‘πŸ’…


😭 DIAGNOSTICS 😭

Errors, verbose and debug output are printed to stderr when verbose output -v is enabled.

heads up bestie: verbose and debug output are only printed when enabled at compilation 🫢 so if you're not seeing the extra chatter, that's why β€” it's a build thing, not a you thing πŸ™ˆ

πŸ’€ BUGS πŸ’€

Please report bugs of any kind to <joachim.metz@gmail.com> or on the project website: https://github.com/libyal/libhmac/

found a bug? tell on it. respectfully. with a link 🌈


🌸 AUTHOR 🌸

These man pages were written by Joachim Metz. ty for your service king 🫢✨


Copyright (C) 2011-2024, Joachim Metz <joachim.metz@gmail.com>.

This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

read that again bestie β€” NO warranty. not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. it's free software, it's not a promise πŸ’€

πŸ¦‹ SEE ALSO πŸ¦‹

libhmac β€” go read that one next, it's the whole family 🌈


and that's the page!! hmacsum, from libhmac, dated January 14, 2014 β€” yeah she's vintage, she's a classic, she still slays πŸ’…πŸŽ€ mwah, go hash something πŸ’–