#hash #digest #keccak #ethereum

macro ethdigest-macros

Ethereum digest literals and compile-time hashing

4 releases

0.2.1 Nov 20, 2022
0.2.0 Sep 13, 2022
0.1.1 Sep 11, 2022
0.1.0 Sep 10, 2022

#45 in #keccak

MIT/Apache

13KB
265 lines

Ethereum Digest Literals and Compile-time Hashing

This crate provides a procedural macro for compile-time Ethereum 32-byte digests and hashing.

This is typically not used directly, but instead included with ethdigest:

[dependencies]
ethdigest = { version = "*", features = ["macros"] }

lib.rs:

Procedural macro for Ethereum digests and hashing.

See ethdigest::digest and ethdigest::keccak documentation for more information.

Dependencies

~1MB