manpagez: man pages & more
man Digest::HMAC_MD5(3)
Home | html | info | man
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(3), Digest::MD5(3), Digest::HMAC_SHA1(3)


AUTHOR

       Gisle Aas <gisle@aas.no>



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

Mac OS X 10.6 - Generated Thu Sep 17 20:11:37 CDT 2009
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.