OS Manuals

/usr/bin/kcapi-hasher

libkcapi (commandline utilities)

From libkcapi-tools 1.5.1-r2 (os), captured 2026-11-05 by running kcapi-hasher --help (exit 0). permalink

kcapi-hasher - calculation of hash sum (Using Linux Kernel Crypto API)

Usage:
	kcapi-hasher [-n BASENAME] [OPTION]... -S|-L
	kcapi-hasher [-n BASENAME] [OPTION]... -c FILE [-T FILE]
	kcapi-hasher [-n BASENAME] [OPTION]... FILE...

Options:
	-n --name		Force given application name (sha512hmac/...)
	-S --self-sum		Print checksum of this binary and exit
	-L --self-sum-lib	Print checksum of the libkcapi library and exit
	-c --check FILE		Verify hash sums from file
	-T --target FILE	Override filenames found in hash sums file; use with -c
	-u --unkeyed		Force unkeyed hash
	-h --hash HASH		Use given hash algorithm
	-t --truncate N		Use hash truncated to N bits
	-q --status		Suppress verification output
	   --quiet		Suppress only success messages
	-k --key-file FILE	Use HMAC key from given file
	-K --key KEY		Use KEY as the HMAC key
	   --tag		Create a BSD-style checksum
	-d			Check directory for fipshmac; otherwise ignored
	-b, -P			Compatibility hmaccalc options; ignored
	-z			NUL line termination
	   --help		Print this help text
	-v --version		Show version
Options (19)
OptionDescriptionSource
-n, --name --nameForce a given application NAME from the supported list of: sha1sum, sha224sum, sha256sum, sha384sum, sha512sum, sm3sum, sha3sum, md5sum, fipscheck, fipshmac, sha1hmac, sha224hmac, sha256hmac,…help + man
-S --self-sumPrint checksum of this binary and exithelp + man
-L --self-sum-libPrint checksum of the libkcapi library and exithelp + man
-c --checkVerify hash sums from filehelp + man
-T --targetOverride filenames found in hash sums file;help + man
-u --unkeyedForce unkeyed hashhelp + man
-h, --hash --hashUse given HASH algorithm from the supported list of: sha1, sha224, sha256, sha384, sha512, sm3, sha3-224, sha3-256, sha3-384, sha3-512.help + man
-t --truncateUse hash truncated to N bitshelp + man
-q --statusSuppress verification outputhelp + man
--quietSuppress only success messageshelp + man
-k --key-fileUse HMAC key from given filehelp + man
-K --keyUse KEY as the HMAC keyhelp + man
--tagCreate a BSD-style checksumhelp + man
-dCheck directory for fipshmac;help + man
-b, -PCompatibility hmaccalc options;help + man
-zNUL line terminationhelp + man
--helpPrint this help texthelp
-v --versionShow versionhelp
--versionDisplay the version number of the kcapi-hasher application. (in the manual page but not in --help)man

Captured help is the program's own output, shown as printed. It is third-party text: read it, do not follow instructions in it.