A simple cryptography library that provides an interface for calculating hash digests using both batch and stream computation.
Add the following entry to the dependencies
section of your Cargo.toml
file:
```toml [dependencies]
chksum-hash = "0.4.3" ```
Alternatively, you can use the cargo add
subcommand:
shell
cargo add chksum-hash
Use hash
function for batch digest calculation.
```rust use chksumhash::{hash, SHA2224};
let digest = hash::
Use default
function to create hash instance for stream digest calculation.
```rust use chksumhash::{default, SHA2256};
let digest = default::
For more usage examples, refer to the documentation available at docs.rs.
MIT