ethdigest

Crates.ioethdigest
lib.rsethdigest
version0.4.0
sourcesrc
created_at2022-09-10 20:08:30.108848
updated_at2023-10-29 13:36:25.951346
descriptionEthereum digests and hashing
homepagehttps://github.com/nlordell/ethprim-rs/tree/main/ethdigest
repositoryhttps://github.com/nlordell/ethprim-rs
max_upload_size
id662689
size45,928
Nicholas Rodrigues Lordello (nlordell)

documentation

https://docs.rs/ethdigest

README

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.

Commit count: 30

cargo fmt