Re: Crypt-PasswdMD5

2005-10-13 Thread David . Wright
# 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->h

Re: Crypt-PasswdMD5

2005-10-13 Thread $Bill Luebkert
[EMAIL PROTECTED] wrote: > # 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); >

Re: Crypt-PasswdMD5

2005-10-13 Thread Randy Kobes
On Thu, 13 Oct 2005, $Bill Luebkert wrote: 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

PPM Server [Re: Crypt-PasswdMD5]

2005-10-13 Thread Chris
$Bill wrote: > Used to be here - probably removed for legal reasons - maybe ask Randy if he'd be willing to add it ([EMAIL PROTECTED]): It seems like there are a lot of problems with finding packages (particularly crypt related) and connectivity/speed issues with the PPM servers. What is involved

Re: Crypt-PasswdMD5

2005-10-13 Thread $Bill Luebkert
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 > compu

Help calling a dll

2005-10-13 Thread Jaroslawsky, Nicholas
Title: Message Can anyone help me with an example of a perl script calling a dll on a windows box. What module's support this if there are any and a snippit of code would be helpful.   thanks   --nick     Confidentiality Note: The information contained in this message, and any at

Re: Help calling a dll

2005-10-13 Thread David Legault
Win32:API C code : -- int __stdcall my_func( int num ) { return num; } -- .def file -- LIBRARY myfunc EXPORTS my_func -- Perl Code : -- use Win32::API; $function = Win32::API->new( 'myfunc.dll', 'int __stdcall my_func( int num )',

Crypt-PasswdMD5

2005-10-13 Thread John Deighan
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 ins

Re: Win32::OLE, ADODB.Stream and ADODB.Command problem.

2005-10-13 Thread Luke Bakken
> Try this... > > $cmCmd->Properties('Output stream')->{'Value'} = $sResponseStream; > > I can't test it but I think that's the correct invocation. > > Steven Actually that is equivalent to what I had: $cmCmd->{'Properties'}->{'Output stream'}->{'Value'} = $sResponseStream; What ended up working