Coding Tool > # Adler32 checksum calculator

Data to be verified:

Calculation result(Hex):

Calculation result(Dec):

Calculation result(Oct):

Calculation result(Bin):

Adler-32 is realized by solving two 16-bit values A and B, and concatenating the results into a 32-bit integer; A is the sum of each byte in the string, and B is the stage of each step when A is added The sum of the values.

When Adler-32 starts running, A is initialized to 1, then each byte value is added, B is initialized to 0, and then the value of A in the first step is added, and the final checksum must be modulo 65521, Perform B<<16+A to get the checksum.