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

Are you expecting alot of traffic and MD5 checking on this site? MD5 is a VERY intensive block of calculations. The perl version promises to be much much slower than the C based version.

Things may look fine for a couple of simple test sessions against the server, but when you start to load things up that will change quickly.

Your best bet might be to update your CGI installation such that Digest::MD5 is included.

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

Replies are listed 'Best First'.
Re: Re: Pure Perl implementation of Digest::MD5?
by izy_t (Novice) on Oct 27, 2003 at 15:33 UTC
    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..."

      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.