Module web3::signing

source ·
Expand description

Signing capabilities and utilities.

Structs

  • Secret 256-bit key used as x in an ECDSA signature.
  • A SecretKey reference wrapper.
  • A struct that represents the components of a secp256k1 signature.

Enums

Traits

  • A trait representing ethereum-compatible key with signing capabilities.

Functions

  • Hash a message according to EIP-191.
  • Compute the Keccak-256 hash of input bytes.
  • Compute the hash of a domain name using the namehash algorithm.
  • Recover a sender, given message and the signature.

Type Definitions

  • Result of the name hash algotithm.