The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Digest::Adler32 - The Adler-32 checksum

SYNOPSIS

use Digest::Adler32;
$a32 = Digest::Adler32->new;

# add stuff
$a32->add($some_data);
$a32->addfile(*STDIN);

# get digest
print "Adler32: ", $a32->hexdigest, "\n";

DESCRIPTION

The Digest::Adler32 module implements the Adler-32 checksum as specified in RFC 1950. The interface provided by this module is specified in Digest, but no functional interface is provided.

A binary digest will be 4 bytes long. A hex digest will be 8 characters long. A base64 digest will be 6 characters long.

SEE ALSO

Digest, Digest::MD5

COPYRIGHT

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

Copyright 1996 L. Peter Deutsch and Jean-Loup Gailly
Copyright 2001,2003 Gisle Aas