hashes.adler32¶
Adler-32 is a checksum algorithm which was invented by Mark Adler in 1995. Compared to a cyclic redundancy check of the same length, it trades reliability for speed (preferring the latter). Adler-32 is more reliable than Fletcher-16, and slightly less reliable than Fletcher-32.[2]
source: https://en.wikipedia.org/wiki/Adler-32
Attributes¶
Functions¶
|
Function implements adler-32 hash. |
Module Contents¶
- hashes.adler32.adler32(plain_text: str) int ¶
Function implements adler-32 hash. Iterates and evaluates a new value for each character
>>> adler32('Algorithms') 363791387
>>> adler32('go adler em all') 708642122
- hashes.adler32.MOD_ADLER = 65521¶