Coding Tool > # Adler32 checksum calculator

Online adler32 checksum algorithm verification tool can be used for adler32 daily coding algorithm verification, often used in ZooKeeper, ZIP encoding.

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.

Previous Tool: Online CheckSum Calculator

Next Tool: XOR check_BCC check calculation