# Crate adler32 [−] [src]

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.

## Structs

RollingAdler32 | A rolling version of the Adler32 hash, which can 'forget' past bytes.

## Functions

adler32 | Consume a Read object and returns the Adler32 hash.

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result
+
  Collapse/expand all sections

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)