Strong but not crypto-strong checksum
From: Ilya Zakharevich (nospam-abuse_at_ilyaz.org)
Date: 03/24/04
- Next message: Michael Hill: "Re: Perl module to access SQLServer from Windows platform (for newbie)"
- Previous message: Everton da Silva Marques: "Namespace for module wrapping external library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Wed, 24 Mar 2004 01:21:46 +0000 (UTC)
I wrote a simple script which acts like tee, but instead of storing
the contents of the stream, it stores checksums of the stream. Later
one can check the integrity of a copy of the stream.
The intent is to put it between mkisofs and cdrecord, then validate
the CD by checking the output of readcd. However, the current
implementation (using *::MD5 module) takes too much of the resources
(circa 50% CPU with 4x DVD-R stream on this Athlon 850).
Obviously, md5 is an overkill in this situation, when errors are not
due to a malicious agency. Is there a lower overhead strong checksum
module for Perl? (I mean something much stronger than pack '%32',
which would miss many patterns of errors.)
Thanks,
Ilya
- Next message: Michael Hill: "Re: Perl module to access SQLServer from Windows platform (for newbie)"
- Previous message: Everton da Silva Marques: "Namespace for module wrapping external library?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|