9 releases (stable)
|1.1.0||Jun 15, 2020|
|1.0.4||Sep 18, 2019|
|1.0.3||Jun 18, 2018|
|1.0.2||Aug 20, 2017|
|0.1.0||Aug 24, 2015|
#8 in Algorithms
529,489 downloads per month
Used in 956 crates (13 directly)
It is adapted from Jean-Loup Gailly's and Mark Adler's original implementation in zlib.
A minimal implementation of Adler32 for Rust.
This provides the simple method adler32(), that exhausts a Read and computes the Adler32 hash, as well as the RollingAdler32 struct, that can build a hash byte-by-byte, allowing to 'forget' past bytes in a rolling fashion.
The adler32 code has been translated (as accurately as I could manage) from the zlib implementation.