Crates.io | ethdigest |
lib.rs | ethdigest |
version | 0.4.0 |
source | src |
created_at | 2022-09-10 20:08:30.108848 |
updated_at | 2023-10-29 13:36:25.951346 |
description | Ethereum digests and hashing |
homepage | https://github.com/nlordell/ethprim-rs/tree/main/ethdigest |
repository | https://github.com/nlordell/ethprim-rs |
max_upload_size | |
id | 662689 |
size | 45,928 |
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.
Just add a dependency to your Cargo.toml
:
[dependencies]
ethdigest = "*"
For complete documentation checkout docs.rs
.