Skip to content

0.2.0

Compare
Choose a tag to compare
@althonos althonos released this 24 Jul 12:58
· 50 commits to master since this release

Added

  • 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.