NAME

HMAC::MD5 - Perl module to compute an HMAC digest using MD5

SYNOPSIS

use HMAC::MD5;
hex($string, $key) returns a 16 byte digest in binary form.
hexhash($string, $key) returns a 16 byte digest as printable hex.

DESCRIPTION

This module computes an HMAC MD5 digest as specified by RFC 2104.

EXAMPLE

use HMAC::MD5;
print HMAC::MD5::hexhash("what do ya want for nothing?", "Jefe"),
      " should be 750c783e6ab0b503eaa86e310a5db738\n";

SEE ALSO

RFC 2104 - HMAC specification.
RFC 2202 - HMAC test cases.

AUTHOR

Clinton Wong, clintdw@netcom.com

COPYRIGHT

The HMAC::MD5 module is Copyright (c) 1998 Clinton Wong.
All rights reserved.  This program is free software; you
can redistribute it and/or modify it under the same terms
as Perl itself.

HMAC::MD5 uses the MD5 module, which is Copyright (C) 1991-2,
RSA Data Security, Inc. Created 1991. All rights reserved.
See the MD5 module's documentation for full copyright and
license information.