in reply to Re: Pure Perl implementation of Digest::MD5?
in thread Pure Perl implementation of Digest::MD5?

I'm using a demon server which is shared with other users, I don't think I can install and run the C based md5. It is only needed for hashing 8 characters or so of password. When I tried one of the perl based md5, the server still looked in @inc (which I do not have access to) for the md5.pm file. And when I tried the other one, I got an error:

"Can't locate object method "new" via package "MD5" at..."

  • Comment on Re: Re: Pure Perl implementation of Digest::MD5?

Replies are listed 'Best First'.
Re: Re: Re: Pure Perl implementation of Digest::MD5?
by ptkdb (Monk) on Oct 27, 2003 at 20:41 UTC
    MD5 processes data in blocks of 64 bytes(512 bits). If you have less than 64 bytes(53 actually since there is padding that has to be done on the last 'bit' and a quad-word added for length at the end) it gets padded out to 64 bytes anyway.