Digest::HMAC_SHA1 - phpMan

Command: man perldoc info search(apropos)  


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 AT aas.no>


Generated by $Id: phpMan.php,v 4.55 2007/09/05 04:42:51 chedong Exp $ Author: Che Dong
On Apache
Under GNU General Public License
2024-04-15 06:51 @44.200.27.215 CrawledBy CCBot/2.0 (https://commoncrawl.org/faq/)
Valid XHTML 1.0!Valid CSS!