#hash #writer

chksum-writer

A convenient interface for calculating hash digests on the fly while writing data to a writer

2 unstable releases

0.1.0 Oct 6, 2024
0.0.0 Dec 21, 2023

#2816 in Cryptography

Download history 31/week @ 2025-05-16 18/week @ 2025-05-23 4/week @ 2025-06-06 20/week @ 2025-06-13 8/week @ 2025-06-20 41/week @ 2025-06-27 27/week @ 2025-07-04 42/week @ 2025-07-11 43/week @ 2025-07-18 34/week @ 2025-07-25 80/week @ 2025-08-01 74/week @ 2025-08-08 90/week @ 2025-08-15 93/week @ 2025-08-22 81/week @ 2025-08-29

343 downloads per month
Used in 8 crates (7 directly)

MIT license

9KB
139 lines

chksum-writer

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

A convenient interface for calculating hash digests on the fly while writing data to a writer.

Setup

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

[dependencies]
chksum-writer = "0.1.0"

Alternatively, you can use the cargo add subcommand:

cargo add chksum-writer

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.2–9.5MB
~76K SLoC