Content-type: text/html Man page of Digest::HMAC_MD5

Digest::HMAC_MD5

Section: User Contributed Perl Documentation (3pm)
Updated: 2008-03-08
Index Return to Main Contents
 

NAME

Digest::HMAC_MD5 - Keyed-Hashing for Message Authentication  

SYNOPSIS

 # Functional style
 use Digest::HMAC_MD5 qw(hmac_md5 hmac_md5_hex);
 $digest = hmac_md5($data, $key);
 print hmac_md5_hex($data, $key);

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

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

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

 

DESCRIPTION

This module provide HMAC-MD5 hashing.  

SEE ALSO

Digest::HMAC, Digest::MD5, Digest::HMAC_SHA1  

AUTHOR

Gisle Aas <[email protected]>


 

Index

NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 04:14:14 GMT, September 24, 2010