Calculate Adler-32 Checksum using Python

zip module

import zlib

text = 'Hello'
checksum = zlib.adler32(text.encode('utf-8'))

print(checksum)

Leave a Comment

Cancel reply

Your email address will not be published.