rolling_checksum_py_mod module¶
Provides a very simple rolling checksum for file data.
- class rolling_checksum_py_mod.Rolling_checksum(width=607, multiplicand=7, modulus=3677, addend=66041)[source]¶
Bases:
object
Compute a very simple, fast, rolling checksum.
We don’t maintain a list of bytes or anything - we just produce checksums on demand. Inspired by linear congruential random number generation. It’s not quite the same thing though.