#reader #hash #digest #checksum

chksum-reader

A convenient interface for calculating hash digests on the fly while reading data from a reader

2 unstable releases

0.1.0 Oct 6, 2024
0.0.0 Dec 21, 2023

#1665 in Cryptography

Download history 13/week @ 2024-08-19 24/week @ 2024-08-26 18/week @ 2024-09-02 22/week @ 2024-09-09 18/week @ 2024-09-16 32/week @ 2024-09-23 82/week @ 2024-09-30 134/week @ 2024-10-07 42/week @ 2024-10-14 9/week @ 2024-10-21 2/week @ 2024-10-28 40/week @ 2024-11-04 14/week @ 2024-11-18 17/week @ 2024-11-25 336/week @ 2024-12-02

369 downloads per month
Used in 10 crates (7 directly)

MIT license

8KB
144 lines

chksum-reader

GitHub Build docs.rs MSRV deps.rs unsafe forbidden LICENSE

A convenient interface for calculating hash digests on the fly while reading data from a reader.

Setup

To use this crate, add the following entry to your Cargo.toml file in the dependencies section:

[dependencies]
chksum-reader = "0.1.0"

Alternatively, you can use the cargo add subcommand:

cargo add chksum-reader

Features

Asynchronous Runtime

  • async-runtime-tokio: Enables async interface for Tokio runtime.

By default, neither of these features is enabled.

Examples

For implementation-specific examples, refer to the documentation of the following crates:

License

This crate is licensed under the MIT License.

Dependencies

~0.3–6MB
~37K SLoC