b2sum
A Pure Rust Library For Hashing Files using Blake2b with any given digest size.
It takes advantage of the crates filebuffer and Blake2-rfc, with filebuffer providing more speed than the std::io
primitive.
Example
Make sure to add b2sum-rust
to your cargo.toml
use Blake2bSum;
Note
This crates name is not b2sum
. That crate is a command-line hashing tool. This crate is a library that provides API for implementing hashing of files into other projects. This crates name is b2sum-rust
.
License
-
MIT
-
Apache-2.0