You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following sum with Hasher & Digest implementations:
Unix (UNIX cksum)
FNV 32 in several variants: FNV1-32, FNV1a-32 and FNV0-32
FNV 64 in several variants: FNV1-64, FNV1a-64 and FNV0-64
Paper & reference about CRC32, CRC32c, Adler32 and UNIX checksum.
Fixed
CRC32/CRC32C: Useless NOT operations before/after each block write, replaced by
a single NOT operation in the finish method (and initialisation to 0xFFFFFFFF).
Changed
Implementation of unit tests to use private macros module
Names of checksum structs to follow Rust naming conventions (acronyms as single
CamelCased word): BSD -> Bsd, CRC32(C) -> Crc32(c), UNIX -> Unix
Code using bitwise operations to use Rust primitive methods where applicable.
Structure of the library to nest the crc32 module inside a crc module.