adler32 top-level constant
Adler-32 is composed of two sums accumulated per byte.
According to RFC-1950, the algorithm is described as follows:
ais the sum of all bytes,bis the sum of allavalues. Both sums are done modulo65521.ais initialized to 1,bto 0.- Final output is
b * 65536 + a
WARNING: It should not be used for cryptographic purposes.
Implementation
const HashBase adler32 = _Adler32();