reth_ecies

Module mac

Source
Expand description

§Ethereum MAC Module

This module provides the implementation of the Ethereum MAC (Message Authentication Code) construction, as specified in the Ethereum RLPx protocol.

The Ethereum MAC is a nonstandard MAC construction that utilizes AES-256 (as a block cipher) and Keccak-256. It is specifically designed for messages of 128 bits in length and is not intended for general MAC use.

For more information, refer to the Ethereum MAC specification.

Structs§

Type Aliases§

  • Type alias for a fixed-size array of 16 bytes used as headers.