SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG
DONATE


YUM REPOSITORY

 
 

MAN page from OpenSuSE libgcrypt-devel-1.8.2-156.16.i586.rpm

HMAC256

Section: Libgcrypt (1)
Updated: 2018-03-24
Index 

NAME

hmac256- Compute an HMAC-SHA-256 MAC 

SYNOPSIS

hmac256[--binary]key[FILENAME]

 

DESCRIPTION

This is a standalone HMAC-SHA-256 implementation used to compute anHMAC-SHA-256 message authentication code. The tool has originallybeen developed as a second implementation for Libgcrypt to allowcomparing against the primary implementation and to be used forinternal consistency checks. It should not be used for sensitive databecause no mechanisms to clear the stack etc are used.

The code has been written in a highly portable manner and requiresonly a few standard definitions to be provided in a config.h file.

hmac256 is commonly invoked as

hmac256 "This is my key" foo.txt

This compute the MAC on the file oqfoo.txtcq using the key given onthe command line.

 

OPTIONS

hmac256 understands these options:

--binary
Print the MAC as a binary string. The default is to print the MACencoded has lower case hex digits.

--version
Print version of the program and exit.

 

SEE ALSO

sha256sum(1)


 

Index

NAME
SYNOPSIS
DESCRIPTION
OPTIONS
SEE ALSO

This document was created byman2html,using the manual pages.