Unix/Linux Go Back    


CentOS 7.0 - man page for digest::hmac_sha1 (centos section 3)

Linux & Unix Commands - Search Man Pages
Man Page or Keyword Search:   man
Select Man Page Set:       apropos Keyword Search (sections above)


Digest::HMAC_SHA1(3)	       User Contributed Perl Documentation	     Digest::HMAC_SHA1(3)

NAME
       Digest::HMAC_SHA1 - Keyed-Hashing for Message Authentication

SYNOPSIS
	# Functional style
	use Digest::HMAC_SHA1 qw(hmac_sha1 hmac_sha1_hex);
	$digest = hmac_sha1($data, $key);
	print hmac_sha1_hex($data, $key);

	# OO style
	use Digest::HMAC_SHA1;
	$hmac = Digest::HMAC_SHA1->new($key);

	$hmac->add($data);
	$hmac->addfile(*FILE);

	$digest = $hmac->digest;
	$digest = $hmac->hexdigest;
	$digest = $hmac->b64digest;

DESCRIPTION
       This module provide HMAC-SHA-1 hashing.

SEE ALSO
       Digest::HMAC, Digest::SHA, Digest::HMAC_MD5

AUTHOR
       Gisle Aas <gisle@aas.no>

perl v5.16.3				    2011-07-25			     Digest::HMAC_SHA1(3)
Unix & Linux Commands & Man Pages : ©2000 - 2018 Unix and Linux Forums


All times are GMT -4. The time now is 09:35 AM.