# 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;
David Wright
Training and Technical Support
SAIL LABS Technology
[EMAIL PROTECTED]
"$Bill Luebkert" <[EMAIL PROTECTED]>
Sent by: To: John
Deighan <[EMAIL PROTECTED]>
[EMAIL PROTECTED] cc:
[email protected]
eState.com Subject:
Re: Crypt-PasswdMD5
13/10/2005 06:18 PM
John Deighan wrote:
> My ppm has both the ActiveState repository and the Winnipeg
> repository installed. Previously, I could install the Crypt-PasswdMD5
> library via ppm (I don't know for sure at which repository it was
> found), but now, on another computer, it cannot be found. On my
> computer, where it is currently installed, the search command will
> not find it. Does anyone know if it was removed, and where I can get
> it, hopefully via ppm?
Used to be here - probably removed for legal reasons - maybe ask
Randy if he'd be willing to add it ([EMAIL PROTECTED]):
INSTDATE: Thu Apr 8 23:51:20 2004
INSTPACKLIST: F:\Perl\site\lib\auto\Crypt\PasswdMD5\.packlist
INSTROOT: F:\Perl
LOCATION:
http://ppm.ActiveState.com/cgibin/PPM/ppmserver-5.8-windows.pl?urn:/PPMServer
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs