NAME
Digest::Adler32::XS - Generate Adler32 digests efficiently
SYNOPSIS
use Digest::Adler32::XS;
my $digest = Digest::Adler32::XS->new();
# add stuff
$digest->add($some_data);
$digest->addfile(*STDIN);
# get digest
print "Adler32: ", $digest->hexdigest, "\n";
DESCRIPTION
This module is a more efficient version of Digest::Adler32, and conforms to the same API. The digest calculations are performed internally in C for performance. Benchmarks show that this module typically performance 300 times faster than Digest::Adler32.
SEE ALSO
RFC 1950, which defines the Adler-32 checksum algorithm: http://www.faqs.org/rfcs/rfc1950.html
Another implementation of Adler-32 is provided in the Digest::Adler32 module.
AUTHOR AND COPYRIGHT
Parts of this library were derived from the code for libxdiff, by Davide Libenzi <davidel@xmailserver.org>. Tests were derived from those for Digest::Adler32. Other parts are Copyright 2004, Geoff Richards <qef@laxan.com> and were derived from Algorithm::GDiffDelta.
Module author: Stuart Watt <swatt@infobal.com>
This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. A copy of the license is available at: http://www.gnu.org/copyleft/lesser.html