Module keccak

Module keccak 

Source
Expand description

Keccak-256 hash function implementation (Ethereum compatible)

This module implements the Keccak-256 hash function as used by Ethereum. It differs from NIST SHA3-256 only in the padding rule (domain separator).

  • SHA3-256: 0x06 domain separator.
  • Keccak-256: 0x01 domain separator.

Structs§

Keccak256
Streaming Keccak-256 engine.

Enums§

Keccak256Algorithm
Marker type for Keccak-256 (Ethereum compatible).