Skip to content

Latest commit

 

History

History

ethdigest

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

Implementation of Ethereum 32-byte digests for Rust.

This crate provides a Digest type for representing Ethereum 32-byte digests.

Additionally it includes macros for digest constants, both from hexidecimal strings, but also by compile-time Keccak-256 hashing inputs. Under the hood, they are implemented with const fn and do not use procedural macros.

Usage

Just add a dependency to your Cargo.toml:

[dependencies]
ethdigest = "*"

For complete documentation checkout docs.rs.