Name
adler32
– Calculate Adler32 checksum of a stream of
data.
Synopsis
adler32
Description
This program takes as input an arbitrarily long stream of bytes and
outputs a single hexadecimal Adler32 checksum. It is intended as an
alternative to CRC-based checksums which may run a little slower.
All actual computation is performed by zlib.
Example
$ echo test | adler32
0x062801cb
Compilation
Dependencies are as follows
- a C compiler e. g. as provided by package
gcc-8-base
for Debian
- Zlib, e. g. from Debian package
zlib1g-dev
- The
ant
build tool.
Compile the program as follows:
$ ant
Build a Debian package (having the necessary dependencies for package
creation installed) as follows:
$ ant package
Created: 2020/02/09 21:39:12 |
Revised: 2022/09/18 21:14:22 |
Tags: programs, c |
Version: 1.0.0 |
SRC (Pandoc MD) |
GPL
Copyright (c) 2013, 2020 Ma_Sys.ma. For further info send an e-mail
to Ma_Sys.ma@web.de.
This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.