ADC Home > Reference Library > Reference > Mac OS X > Mac OS X Man Pages

 

This document is a Mac OS X manual page. Manual pages are a command-line technology for providing documentation. You can view these manual pages locally using the man(1) command. These manual pages come from many different sources, and thus, have a variety of writing styles.

For more information about the manual page format, see the manual page for manpages(5).



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



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 <gisle@aas.no>



perl v5.8.8                                      2001-03-13                              Digest::HMAC_MD5(3)

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.