Manpages

Manpage of Digest::HMAC_SHA1

Digest::HMAC_SHA1

Section: User Contributed Perl Documentation (3)
Updated: perl v5.6.0
Index
Return to Main Contents
 

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

the Digest::HMAC manpage, the Digest::SHA1 manpage, the Digest::HMAC_MD5 manpage  

AUTHOR

Gisle Aas <gisle@aas.no>


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:40:16 GMT, April 19, 2024