Implementation of Adler-32 digester.
Adler-32 is a checksum algorithm which was developed by Mark Adler and published in 1995. It is used to detect accidental changes to data. Adler-32 is created by calculating two 16-bit checksums for a given stream of bytes and concatenating them.
Computes the Adler-32 hash digest of the given data.
import tern.digest.adler32; ubyte[] data = [1, 2, 3, 4, 5]; auto hashValue = Adler32.hash(data);
See Implementation
Implementation of Adler-32 digester.
Adler-32 is a checksum algorithm which was developed by Mark Adler and published in 1995. It is used to detect accidental changes to data. Adler-32 is created by calculating two 16-bit checksums for a given stream of bytes and concatenating them.