Scroll to navigation

hmacsum LOCAL hmacsum

NAME

hmacsumcalculates Hash-based Message Authentication Codes (HMACs) of the data in a file.

SYNOPSIS

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

DESCRIPTION

hmacsum is a utility to calculate Hash-based Message Authentication Codes (HMACs) of the data in a file.

hmacsum is part of the libhmac package. libhmac is a library to support various Hash-based Message Authentication Codes (HMAC)

source the source file.

The options are as follows:

digest_type
calculate digest (hash) types option: md5 (default), sha1, sha256, sha512 (multiple types can be combined with a ,)
shows this help
process_buffer_size
specify the process buffer size (default is 32768 bytes)
verbose output to stderr
print version

ENVIRONMENT

None

FILES

None

EXAMPLES

# 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

DIAGNOSTICS

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

BUGS

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

AUTHOR

These man pages were written by Joachim Metz.

COPYRIGHT

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.

SEE ALSO

January 14, 2014 libhmac