KCAPI-HASHER(1)
π¦ KCAPI-HASHER(1) β General Commands Manual π¦
okay so bestie, welcome to kcapi-hasher β the command-line girlie for the Linux kernel crypto API, and she is lowkey iconic π
πΈ NAME πΈ
kcapi-hasher β Kernel Crypto API Message Digest Check Helper. That's the whole name, periodt π
β¨ SYNOPSIS β¨
kcapi-hasher [-n BASENAME] [OPTION]... -S|-L
kcapi-hasher [-n BASENAME] [OPTION]... -c FILE [-T FILE]
kcapi-hasher [-n BASENAME] [OPTION]... FILE...
π DESCRIPTION π
The kcapi-hasher application gives you a tool to compute and check the message digest β plus keyed message digest ciphers β of the Linux kernel crypto API, straight from the command line β¨
The command line arguments, inputs and outputs closely mimick those of other similar utilities. I.e. sha1sum(1), sha512sum(1), and etc. fr fr π«Ά
This is a multi-call binary, and the algorithm can be selected by symlinking this application under the desired name. Separately, the application name can be overriden directly with the name option, or the desired hash can be selected with the hash option. main character energy π₯
The input data can be provided either via STDIN or via a file that is referenced with a command line option. easy peasy π
π OPTIONS π
-n,--name NAMEβ Force a given applicationNAMEfrom the supported list of:sha1sum,sha224sum,sha256sum,sha384sum,sha512sum,sm3sum,sha3sum,md5sum,fipscheck,fipshmac,sha1hmac,sha224hmac,sha256hmac,sha384hmac,sha512hmac,sm3hmac.-h,--hash HASHβ Use the givenHASHalgorithm from the supported list of:sha1,sha224,sha256,sha384,sha512,sm3,sha3-224,sha3-256,sha3-384,sha3-512.-S,--self-sumβ Print checksum of this binary and exit.-L,--self-sum-libβ Print checksum of thelibkcapilibrary and exit.-c,--check FILEβ Verify hash sums fromFILE.-T,--target FILEβ Override filenames found in hash sums file; use with-c.-u,--unkeyedβ Force unkeyed hash.-t,--truncate Nβ Use hash truncated toNbits.-q,--statusβ Suppress verification output.--quietβ Suppress only success messages.-k,--key-file FILEβ Use HMAC key from the givenFILE.-K,--key KEYβ UseKEYas the HMAC key.--tagβ Create a BSD-style checksum.-dβ Check directory forfipshmac; otherwise ignored.-b,-Pβ Compatibilityhmaccalcoptions; ignored.-zβ NUL line termination.-h,--helpβ Display the help text. yes,-his doing double duty up in here π--versionβ Display the version number of thekcapi-hasherapplication.
π₯ SEE ALSO π₯
kcapi-dgst(1) kcapi-enc(1) kcapi-rng(1)
xoxo, your General Commands Manual girlie for KCAPI-HASHER(1), dated 2023-07-04 β bye bestie! π π
π¦ where this page comes from
- alpine 3.22: libkcapi-doc 1.5.1-r0 Β· BSD-3-Clause OR GPL-2.0-only
- alpine 3.23: libkcapi-doc 1.5.1-r0 Β· BSD-3-Clause OR GPL-2.0-only
- alpine 3.24: libkcapi-doc 1.5.1-r0 Β· BSD-3-Clause OR GPL-2.0-only
- nixpkgs unstable: libkcapi 1.5.1
- Copyright (c) 2017 - 2026 by Stephan Mueller (smueller@chronox.de)
- Copyright (c) 2023 by Dimitri John Ledkov (dimitri.ledkov@canonical.com)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms