Implementation of Ethereum 32-byte digests for Rust.
This crate provides a Digest type for representing Ethereum 32-byte digests.
Usage
Just add a dependency to your Cargo.toml:
[]
= "*"
For complete documentation checkout docs.rs.
Features
This crate provides a few features for fine-grained control of what gets included with the crate.
I want
#[no_std]!
[]
= { = "*", = false }
I want runtime Keccak-256 hashing utilities!
[]
= { = "*", = ["keccak"] }
I want a macro for compile-time
Digestliterals and compilt-time Keccak-256 hash computation, as well asserdesupport!
[]
= { = "*", = ["macros", "serde"] }