I have a bit of experience with the MD5... I use:
sub file_md5_hex
{
my ($file) = @_;
my $logger = get_logger("root.file_md5_hex");
my $output = `/usr/bin/openssl dgst -hex -md5 < $file`;
chomp $output;
$logger->debug("MD5 of $file is $output");
$output;
}
instead of:
# we do not use this because it reads the whole file into memory...AT ONCE!
#use Digest::MD5::File qw(file_md5_hex);
The latter was blowing out my memory when I md5'd 2G files. Openssl
works fine. Also, if you have any sort of hardware accelerator,
(Hifn, etc) they appear to come with new openssl libraries, so you
would get the acceleration benefits.
B.
At 08:59 AM 3/9/2007, Alexander Apprich wrote:
>Hi Dennis,
>
>Dennis Daupert wrote:
> > Hello list,
> >
> > Now that management has moved us off Unix and onto windows....
> >
> > We develop software packages, and use a perl script to generate
> > checksum signatures to validate our packages.
> >
> > On Solaris, we use cksum; on linux, md5sum.
> >
> > What do people use on windows?
> >
>
>if you're talking about the standalone tools you can get them at
>http://gnuwin32.sourceforge.net/packages/coreutils.htm
>I'm not sure if the cksum ist the same as the one that comes w/ sunos
>
>there are also couple perl modules out there for checksum'in but
>I don't have any experience with them.
>
>Hth
>
>Alex
>_______________________________________________
>Perl-Win32-Users mailing list
>[email protected]
>To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs
---
Bruce J. McKenzie | [EMAIL PROTECTED] | DoublePup Enterprises, Inc.
http://www.doublepup.com | Consulting Services for Systems Development
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs