KECCAKSUM(1)
π KECCAKSUM(1) π
ok so bestie, welcome to keccaksum(1) β it lives in the General Commands Manual section and it is literally your go-to for computing and checking Keccak[] message digests. slay.
β¨ SYNOPSIS β¨
keccaksum [-u | -l | -b | -c] [-R rate] [-C capacity] [-N output-size]
[-S state-size] [-W word-size] [-Z squeeze-count] [-vxz] [file ...]
π¦ DESCRIPTION π¦
Print or check Keccak[] checksums. And listen β if you pass no file at all, or if the file is literally -, it reads from standard input. iconic behavior tbh.
-uβ outputs checksums in upper-case hexadecimal. ALL CAPS energy π₯-lβ outputs checksums in lower-case hexadecimal. this is the default, no cap.-bβ outputs checksums in binary representation. heads up: this suppresses the filenames and the checksum delimiters, so only the checksums get printed. just the vibes, nothing else π-cβ readsKeccak[]sums from the file and checks them against the files on your system. the input files should be formatted as the output of this program, or similarly. β οΈ real talk: this is not going to work if any of the filenames in the input file start with a regular space or horizontal tab, or if they contain a line feed, carriage return, or form feed β unless you also use the-zoption. so like, use-z, bestie.-vβ prints the hashing parameters. so you can see what's actually going on β¨-xβ converts input files from hexadecimal form to binary form before calculating the checksums. glow-up for your input π§-zβ lines end withNULinstead ofLF. if used with-c, this applies to read files (not the output), but it will also apply more strict parsing and allow any whitespace in file names. lowkey the upgrade you want π«Ά
πΈ changing the hashing parameters πΈ
the following options change the hashing parameters:
-Rrate β change the rate.-Ccapacity β change the capacity.-N,-Ooutput-size β change the output size.-S,-Bstate-size β change the state size.-Wword-size β change the word size.-Zsqueeze-count β change the number of squeezes that is performed.
β EXIT STATUS β
0β successful completion. we ate and left no crumbs π1β checksums did not match or a file did not exist. π it's giving mismatch.2β an error occurred. π
π AUTHORS π
Mattias AndrΓ©e <m@maandree.se> β the main character who made this happen π
π NOTES π
ok so, all commands in the sha3sum package allow changing the hashing parameters. but ngl, it's only intended to be used with keccaksum(1) β or if you know what you are doing. the one exception is -N, which is intended to always be used with shake128sum(1), shake256sum(1), shake512sum(1), rawshake128sum(1), rawshake256sum(1), and rawshake512sum(1). iykyk π
fr fr bestie, don't go changing parameters just because you can β that's not the vibe check you think it is.
β¨ that's the whole page, periodt β¨
sign-off from your girl: this gem is from the SHA3SUM source, KECCAKSUM(1) edition β catch you in the next manpage, mwah ππ
π¦ where this page comes from
- arch rolling: sha3sum 1.2.5-1 Β· custom:ISC
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms